Re: [PATCH v2] perf/core: fast breakpoint modification via _IOC_MODIFY_ATTRIBUTES.

2017-11-12 Thread Milind Chabbi
On Tue, Nov 7, 2017 at 10:26 PM, Milind Chabbi wrote: > Problem and motivation: Once a breakpoint perf event (PERF_TYPE_BREAKPOINT) > is created, there is no flexibility to change the breakpoint type > (bp_type), breakpoint address (bp_addr), or breakpoint length (bp_len). The > only option is to

[PATCH v2] perf/core: fast breakpoint modification via _IOC_MODIFY_ATTRIBUTES.

2017-11-07 Thread Milind Chabbi
Problem and motivation: Once a breakpoint perf event (PERF_TYPE_BREAKPOINT) is created, there is no flexibility to change the breakpoint type (bp_type), breakpoint address (bp_addr), or breakpoint length (bp_len). The only option is to close the perf event and configure a new breakpoint event. This