]> git.ipfire.org Git - thirdparty/linux.git/commit
perf test: Fix test case perf evlist tests for s390x
authorThomas Richter <tmricht@linux.ibm.com>
Wed, 10 Dec 2025 07:17:52 +0000 (08:17 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Jan 2026 21:41:02 +0000 (18:41 -0300)
commitb04d2b9199129f4f0c992a518c0fb78c2efc1064
treeb0236ebc583e4f31c0d253d167926409bb6a341c
parent623ba6ea45979fb1d06c5c8f03417ecc3565a851
perf test: Fix test case perf evlist tests for s390x

Perf test case 78: perf evlist tests fails on s390.

The failure is causes by grouping events cycles and instructions because
sampling does only support event cycles.  Change the group to software
events to fix this.

Output before:
  # ./perf test 78
  78: perf evlist tests              : FAILED!
  #

Output after:
  # ./perf test 78
  78: perf evlist tests              : Ok
  #

Fixes: db452961de939225 ("perf tests evlist: Add basic evlist test")
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Tested-by: Ian Rogers <irogers@google.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Jan Polensky <japo@linux.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/evlist.sh