summaryrefslogtreecommitdiff
path: root/tools/perf/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-05 21:24:23 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-10-15 17:59:11 +0300
commit787bd5781785472ef9296ce66d6f917a19a422a4 (patch)
tree39568f7ab81d090223e055dc4eea601a4008126f /tools/perf/python
parent5bf6291113d2aaa559455a04ecc2c5e6396d05a0 (diff)
downloadlinux-787bd5781785472ef9296ce66d6f917a19a422a4.tar.xz
perf evsel: Improvements to __evsel__match
Ensure both the perf_event_attr and alternate_hw_config are checked in the match. Don't mask the config if the perf_event_attr isn't a HARDWARE or HW_CACHE event. Add common early exit cases. 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