Commit 844f962c authored by Thomas Richter's avatar Thomas Richter Committed by Namhyung Kim
Browse files

perf test: perf header test fails on s390



commit 2d584688 ("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: 2d584688 ("perf test: Add header shell test")
Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
Reviewed-by: default avatarIan Rogers <irogers@google.com>
Acked-by: default avatarSumanth Korikkar <sumanthk@linux.ibm.com>
Link: https://lore.kernel.org/r/20250630091613.3061664-1-tmricht@linux.ibm.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent aa497357
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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]"