]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf vendor metrics s390: Avoid has_event(INSTRUCTIONS)
authorIan Rogers <irogers@google.com>
Wed, 12 Nov 2025 16:24:39 +0000 (08:24 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 14 Nov 2025 07:22:34 +0000 (23:22 -0800)
commitc1932fb85af8e51ac9f6bd9947145b06c716106e
treeb89b7121937cd8a92c328076bedc542e2123636a
parentca016b6527e154013693722a2cdbec7c05fb6df7
perf vendor metrics s390: Avoid has_event(INSTRUCTIONS)

The instructions event is now provided in json meaning the has_event
test always succeeds. Switch to using non-legacy event names in the
affected metrics.

Reported-by: Thomas Richter <tmricht@linux.ibm.com>
Closes: https://lore.kernel.org/linux-perf-users/3e80f453-f015-4f4f-93d3-8df6bb6b3c95@linux.ibm.com/
Fixes: 0012e0fa221b ("perf jevents: Add legacy-hardware and legacy-cache json")
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Thomas Richter <tmricht@linux.ibm.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/s390/cf_z16/transaction.json
tools/perf/pmu-events/arch/s390/cf_z17/transaction.json