Re: [PATCH] perf test: Skip watchpoint tests if no watchpoints available

2022-11-23 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 22, 2022 at 12:57:05PM -0800, Ian Rogers escreveu: > On Tue, Nov 22, 2022 at 11:19 AM Christophe Leroy > wrote: > > > > > > > > Le 21/11/2022 à 11:27, Naveen N. Rao a écrit : > > > On IBM Power9, perf watchpoint tests fail since no hardware breakpoints > > > are available. Detect this

Re: [PATCH] perf test: Skip watchpoint tests if no watchpoints available

2022-11-23 Thread kajoljain
On 11/21/22 15:57, Naveen N. Rao wrote: > On IBM Power9, perf watchpoint tests fail since no hardware breakpoints > are available. Detect this by checking the error returned by > perf_event_open() and skip the tests in that case. > > Reported-by: Disha Goel > Signed-off-by: Naveen N. Rao >

Re: [PATCH] perf test: Skip watchpoint tests if no watchpoints available

2022-11-22 Thread Ian Rogers
On Tue, Nov 22, 2022 at 11:19 AM Christophe Leroy wrote: > > > > Le 21/11/2022 à 11:27, Naveen N. Rao a écrit : > > On IBM Power9, perf watchpoint tests fail since no hardware breakpoints > > are available. Detect this by checking the error returned by > > perf_event_open() and skip the tests in

Re: [PATCH] perf test: Skip watchpoint tests if no watchpoints available

2022-11-22 Thread Christophe Leroy
Le 21/11/2022 à 11:27, Naveen N. Rao a écrit : > On IBM Power9, perf watchpoint tests fail since no hardware breakpoints > are available. Detect this by checking the error returned by > perf_event_open() and skip the tests in that case. > > Reported-by: Disha Goel > Signed-off-by: Naveen N.

[PATCH] perf test: Skip watchpoint tests if no watchpoints available

2022-11-21 Thread Naveen N. Rao
On IBM Power9, perf watchpoint tests fail since no hardware breakpoints are available. Detect this by checking the error returned by perf_event_open() and skip the tests in that case. Reported-by: Disha Goel Signed-off-by: Naveen N. Rao --- tools/perf/tests/wp.c | 12 +++- 1 file