From mboxrd@z Thu Jan 1 00:00:00 1970 From: xiakaixu Subject: Re: Does perf support different length of user-space hw_breakpoint? Date: Tue, 13 May 2014 19:38:45 +0800 Message-ID: <53720445.9090506@huawei.com> References: <53707DD6.2000108@huawei.com> <20140512080503.GL30445@twins.programming.kicks-ass.net> <20140512084823.GO30445@twins.programming.kicks-ass.net> <53708DAE.6080903@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from szxga02-in.huawei.com ([119.145.14.65]:48333 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759664AbaEMLjK (ORCPT ); Tue, 13 May 2014 07:39:10 -0400 In-Reply-To: <53708DAE.6080903@huawei.com> Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Peter Zijlstra , fweisbec@gmail.com Cc: kaixu xia , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, paulus@samba.org, Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Borislav Petkov , Namhyung Kim , Huxinwei , peifeiyue@huawei.com ping.... =E4=BA=8E 2014/5/12 17:00, xiakaixu =E5=86=99=E9=81=93: > =E4=BA=8E 2014/5/12 16:48, Peter Zijlstra =E5=86=99=E9=81=93: >> 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_LE= N_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 th= at? >> >> I asked Frederic to answer your question :-) >> > Thanks:-) >=20 > -- > To unsubscribe from this list: send the line "unsubscribe linux-perf-= users" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >=20