aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-05 11:24:27 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-10-15 23:59:12 +0900
commit4bebf7ff3e6a13bb0d3378e143efb86cd73d0c76 (patch)
treea112484f8c085e423461905c2f58fe11b07dc14e /tools/perf/python
parentperf test parse-events: Remove cpu PMU requirement (diff)
downloadlinux-4bebf7ff3e6a13bb0d3378e143efb86cd73d0c76.tar.gz
linux-4bebf7ff3e6a13bb0d3378e143efb86cd73d0c76.zip
perf test: Switch cycles event to cpu-cycles
Without a PMU perf matches an event against any PMU with the event. Unfortunately some PMU drivers advertise a "cycles" event which is typically just a core event. As tests assume a core event, switch to use "cpu-cycles" that avoids the overloaded "cycles" event on troublesome PMUs and is so far not overloaded. Note, on x86 this changes a legacy event into a sysfs one. Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: James Clark <james.clark@linaro.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions