diff options
| author | Naveen N. Rao <[email protected]> | 2022-11-21 15:57:47 +0530 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-11-23 10:32:53 -0300 |
| commit | 7d54a4acd8c1de3ea70d31424757dcdb7f0a231a (patch) | |
| tree | a20871807c8bfa8da034f12bb5d6f6c835ee8a5a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8daf87f5922730468c98ae588573386042bc2992 (diff) | |
perf test: Skip watchpoint tests if no watchpoints available
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 <[email protected]>
Signed-off-by: Naveen N. Rao <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Reviewed-by: Kajol Jain<[email protected]>
Tested-by: Kajol Jain<[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions