summaryrefslogtreecommitdiff
path: root/tools/perf/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-05 21:24:06 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-10-15 17:59:10 +0300
commit8079c4c6b9faf2399859fe64f8559e31b336be45 (patch)
tree73b58ae3f87f2cbfff3ef49cbe353a4636d5038f /tools/perf/python
parent7c0135e4d7394832b562896241bc6dc943120f18 (diff)
downloadlinux-8079c4c6b9faf2399859fe64f8559e31b336be45.tar.xz
perf stat: Avoid wildcarding PMUs for default events
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. To make perf's behavior consistent, just look up default events with their designated PMU types. 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