diff options
| author | Ian Rogers <irogers@google.com> | 2026-06-22 18:27:50 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-06-30 17:09:13 -0700 |
| commit | 8953bfd8820b6525032023fda3a420098c1823ae (patch) | |
| tree | 74a5fce56695a0c2cf9c89cf55c054f484bd0e22 /tools/perf/scripts/python | |
| parent | 74dba58222f0d34cf8bd3eba1a6926e9654d4b6b (diff) | |
perf tests: Skip metrics validation if system-wide recording lacks permission
The metrics value validation test requires system-wide recording (`-a`),
which can fail on systems without root permissions or where paranoid
levels restrict tracing. Add a check to skip the test if `-a` is not
supported.
Also fix false negatives during validation by updating parse error string
patterns and resolving issues in metric list generation.
Fixes: 3ad7092f5145 ("perf test: Add metric value validation test")
Assisted-by: Antigravity:gemini-3.1-pro
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
