diff options
| author | Thomas Richter <tmricht@linux.ibm.com> | 2026-04-01 14:21:01 +0200 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-04-02 12:51:10 -0700 |
| commit | eb27e1c885ea75c1661188a548d100c8bce5970a (patch) | |
| tree | d756ef0b2ad785856a7a77ed37ae359180149285 /tools/perf/scripts/python | |
| parent | ff6be45adb1989698867938157f9317ae0bba936 (diff) | |
perf test: Skip perf data type profiling tests for s390
Test case 'perf data type profiling tests' fails on s390 with this
error:
# ./perf mem record -- ./perf test -w code_with_type
failed: no PMU supports the memory events
# echo $?
255
#
because s390 does not support memory events at all. According to the
man page, perf annotate --code-with-type only works with memory
instructions only. As command 'perf mem record ...' is not supported
on s390, skip this test for s390.
Output before:
# ./perf test 'perf data type profiling tests'
77: perf data type profiling tests : FAILED!
Output after:
# ./perf test 'perf data type profiling tests'
77: perf data type profiling tests : Skip
Fixes: f60a5c22967b8 ("perf tests: Test annotate with data type profiling and rust")
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: Dmitrii Dolgov <9erthalion6@gmail.com>
Suggested-by: Namhyung Kim <namhyung@kernel.org>
Suggested-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
