]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf header: Switch "cpu" for find_core_pmu in caps feature writing
authorIan Rogers <irogers@google.com>
Fri, 14 Nov 2025 22:05:45 +0000 (14:05 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 20 Nov 2025 01:49:45 +0000 (17:49 -0800)
commit1a6b0deb2b71d6e94497a284b9babce80b18cc7c
tree3d186819faab506f3161fac9d807a9be4498b961
parent36434959b6ea13d32343f4ec5fa3fb0d0120da2f
perf header: Switch "cpu" for find_core_pmu in caps feature writing

Writing currently fails on non-x86 and hybrid CPUs. Switch to the more
regular find_core_pmu that is normally used in this case. Tested on
hybrid alderlake system.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/header.c