diff options
| author | Ian Rogers <[email protected]> | 2024-05-02 22:31:15 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-09-24 17:46:24 +0000 |
| commit | c940a66b3ac930227df0ab6e01f84bea1afa6c3f (patch) | |
| tree | 7312a8c4cad39b3130faf17a6de72bafdf463dc0 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | perf trace: Mark the 'head' arg in the set_robust_list syscall as coming from... (diff) | |
| download | kernel-c940a66b3ac930227df0ab6e01f84bea1afa6c3f.tar.gz kernel-c940a66b3ac930227df0ab6e01f84bea1afa6c3f.zip | |
perf test: Be more tolerant of metricgroup failures
Previously "set -e" meant any non-zero exit code from perf stat would
cause a test failure. As a non-zero exit happens when there aren't
sufficient permissions, check for this case and make the exit code
2/skip for it.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Acked-by: Veronika Molnarova <[email protected]>
Cc: Athira Rajeev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions
