Em Mon, Sep 10, 2018 at 10:47:54AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Sep 10, 2018 at 12:31:54PM +0200, Jiri Olsa escreveu: > > On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote: > > > We don't have perf test available to test watchpoint functionality. > > > Add simple set of tests: > > > - Read only watchpoint > > > - Write only watchpoint > > > - Read / Write watchpoint > > > - Runtime watchpoint modification > > > > > > Ex on powerpc: > > > $ sudo ./perf test 22 > > > 22: Watchpoint : > > > 22.1: Read Only Watchpoint : Ok > > > 22.2: Write Only Watchpoint : Ok > > > 22.3: Read / Write Watchpoint : Ok > > > 22.4: Modify Watchpoint : Ok > > > > cool, thanks! > > > > Acked-by: Jiri Olsa <jo...@kernel.org> > > Thanks, applied.
While testing, I got curious, as a 'perf test' user, why one of the tests had the "Skip" result: [root@seventh ~]# perf test watchpoint 22: Watchpoint : 22.1: Read Only Watchpoint : Skip 22.2: Write Only Watchpoint : Ok 22.3: Read / Write Watchpoint : Ok 22.4: Modify Watchpoint : Ok [root@seventh ~]# I tried with 'perf test -v watchpoint' but that didn't help, perhaps you could add some message after the "Skip" telling why it skipped that test? I.e. hardware doesn't have that capability, kernel driver not yet supporting that, something else? - Arnaldo