aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2025-06-30 11:16:13 +0200
committerNamhyung Kim <namhyung@kernel.org>2025-06-30 08:59:13 -0700
commit844f962ca6bf5b01d0af0bc62a7f06135581fe92 (patch)
treeae0016dd465585e173b3aca31aab57da617f9b6e /tools/perf
parentperf stat: Fix uncore aggregation number (diff)
downloadlinux-844f962ca6bf5b01d0af0bc62a7f06135581fe92.tar.gz
linux-844f962ca6bf5b01d0af0bc62a7f06135581fe92.zip
perf test: perf header test fails on s390
commit 2d584688643fa ("perf test: Add header shell test") introduced a new test case for perf header. It fails on s390 because call graph option -g is not supported on s390. Also the option --call-graph dwarf is only supported for the event cpu-clock. Remove this option and the test succeeds. Output after: # ./perf test 76 76: perf header tests : Ok Fixes: 2d584688643fa ("perf test: Add header shell test") Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Ian Rogers <irogers@google.com> Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Link: https://lore.kernel.org/r/20250630091613.3061664-1-tmricht@linux.ibm.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf')
-rwxr-xr-xtools/perf/tests/shell/header.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/shell/header.sh b/tools/perf/tests/shell/header.sh
index 813831cff0bd..412263de6ed7 100755
--- a/tools/perf/tests/shell/header.sh
+++ b/tools/perf/tests/shell/header.sh
@@ -51,7 +51,7 @@ check_header_output() {
test_file() {
echo "Test perf header file"
- perf record -o "${perfdata}" -g -- perf test -w noploop
+ perf record -o "${perfdata}" -- perf test -w noploop
perf report --header-only -I -i "${perfdata}" > "${script_output}"
check_header_output
@@ -61,7 +61,7 @@ test_file() {
test_pipe() {
echo "Test perf header pipe"
- perf record -o - -g -- perf test -w noploop | perf report --header-only -I -i - > "${script_output}"
+ perf record -o - -- perf test -w noploop | perf report --header-only -I -i - > "${script_output}"
check_header_output
echo "Test perf header pipe [Done]"