Re: [PATCHv3 0/5] perf/hw_breakpoint: Fix breakpoint modify

2018-08-17 Thread Jiri Olsa
On Fri, Aug 10, 2018 at 12:47:25PM +0200, Jiri Olsa wrote: > hi, > Milind reported that modify_user_hw_breakpoint wouldn't > allow the breakpoint changing if the new attr had 'disabled' > set to true. > > I found a case where it actualy prevents ptrace user interface > to change the breakpoint.

Re: [PATCHv3 0/5] perf/hw_breakpoint: Fix breakpoint modify

2018-08-17 Thread Jiri Olsa
On Fri, Aug 10, 2018 at 12:47:25PM +0200, Jiri Olsa wrote: > hi, > Milind reported that modify_user_hw_breakpoint wouldn't > allow the breakpoint changing if the new attr had 'disabled' > set to true. > > I found a case where it actualy prevents ptrace user interface > to change the breakpoint.

[PATCHv3 0/5] perf/hw_breakpoint: Fix breakpoint modify

2018-08-10 Thread Jiri Olsa
hi, Milind reported that modify_user_hw_breakpoint wouldn't allow the breakpoint changing if the new attr had 'disabled' set to true. I found a case where it actualy prevents ptrace user interface to change the breakpoint. It's described in patch 1 as perf test, patch 2 is the breakpoint code

[PATCHv3 0/5] perf/hw_breakpoint: Fix breakpoint modify

2018-08-10 Thread Jiri Olsa
hi, Milind reported that modify_user_hw_breakpoint wouldn't allow the breakpoint changing if the new attr had 'disabled' set to true. I found a case where it actualy prevents ptrace user interface to change the breakpoint. It's described in patch 1 as perf test, patch 2 is the breakpoint code