Thread (3 messages) 3 messages, 2 authors, 2014-05-13

Re: Does perf support different length of user-space hw_breakpoint?

From: Peter Zijlstra <peterz@infradead.org>
Date: 2014-05-12 08:48:42
Also in: lkml

Possibly related (same subject, not in this thread)

On Mon, May 12, 2014 at 04:20:44PM +0800, kaixu xia wrote:
2014-05-12 16:05 GMT+08:00 Peter Zijlstra [off-list ref]:
quoted
On Mon, May 12, 2014 at 03:52:54PM +0800, xiakaixu wrote:
quoted
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 :-)

Attachments

  • (unnamed) [application/pgp-signature] 836 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help