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

From: Arnaldo Carvalho de Melo
Date: Thu Aug 30 2018 - 14:39:18 EST


Em Mon, Aug 27, 2018 at 11:12:23AM +0200, Jiri Olsa escreveu:
> 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 fix.
>
> I ran strace tests, nothing (new) broken there..

Thanks, tested and applied.

- Arnaldo