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

From: Peter Zijlstra
Date: Mon May 12 2014 - 04:05:22 EST


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?

Attachment: pgpUpChSz07oY.pgp
Description: PGP signature