aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-05 11:24:25 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-10-15 23:59:11 +0900
commit2e6dc3b9334cd0d404591009b3d9957edcf2f6cf (patch)
tree1fe04b127bfa0d53d2578e159eef6be299c0f87d /tools/perf/python
parentperf test parse-events: Use evsel__match for legacy events (diff)
downloadlinux-2e6dc3b9334cd0d404591009b3d9957edcf2f6cf.tar.gz
linux-2e6dc3b9334cd0d404591009b3d9957edcf2f6cf.zip
perf test parse-events: Without a PMU use cpu-cycles rather than 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. Switch to using "cpu-cycles" which is an indentical legacy event but avoids the multiple PMU confusion introduced by the PMU drivers. Note, on x86 cpu-cycles is also a sysfs event but cycles isn't. 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