Commit 3cb614a2 authored by Ian Rogers's avatar Ian Rogers Committed by Namhyung Kim
Browse files

perf pmus: Factor perf_pmus__find_by_attr out of evsel__find_pmu



Allow a PMU to be found by a perf_event_attr, useful when creating
evsels.

Reviewed-by: default avatarThomas Falcon <thomas.falcon@intel.com>
Signed-off-by: default avatarIan Rogers <irogers@google.com>
Tested-by: default avatarJames Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250719030517.1990983-10-irogers@google.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent f958537f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment