From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754005AbaELJA4 (ORCPT ); Mon, 12 May 2014 05:00:56 -0400 Received: from szxga01-in.huawei.com ([119.145.14.64]:19899 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750907AbaELJAy (ORCPT ); Mon, 12 May 2014 05:00:54 -0400 Message-ID: <53708DAE.6080903@huawei.com> Date: Mon, 12 May 2014 17:00:30 +0800 From: xiakaixu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Peter Zijlstra CC: kaixu xia , , , , Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Borislav Petkov , Namhyung Kim , Huxinwei , , Subject: Re: Does perf support different length of user-space hw_breakpoint? References: <53707DD6.2000108@huawei.com> <20140512080503.GL30445@twins.programming.kicks-ass.net> <20140512084823.GO30445@twins.programming.kicks-ass.net> In-Reply-To: <20140512084823.GO30445@twins.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.111.100.238] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2014/5/12 16:48, Peter Zijlstra 写道: > On Mon, May 12, 2014 at 04:20:44PM +0800, kaixu xia wrote: >> 2014-05-12 16:05 GMT+08:00 Peter Zijlstra : >> >>> On Mon, May 12, 2014 at 03:52:54PM +0800, xiakaixu wrote: >>>> Hi guys, >>>> >>>> Does perf support different length of user-space hw_breakpoint, >>>> such as HW_BREAKPOINT_LEN_1/HW_BREAKPOINT_LEN_2/HW_BREAKPOINT_LEN_4/ >>>> HW_BREAKPOINT_LEN_8? >>>> >>>> Seems perf only support HW_BREAKPOINT_LEN_4/sizeof(long) >>>> by default from the source code and simple test. >>>> >>>> May I have your opinions if I want to trace different bytes of >>>> hw_breakpoint addr? >>> >>> Frederic? >>> >> >> Sorry, can not fully understand it. Can you give more details on that? > > I asked Frederic to answer your question :-) > Thanks:-)