diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-06-05 13:14:01 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-06-06 11:09:21 +0300 |
commit | 228020b490eda9133c9cb6f59a5ee1278d8c463f (patch) | |
tree | 0d5115f8c5b8a8b58fcbd5b17dcbd7f2916b4ba0 /include/linux/msi.h | |
parent | 10d95a317ec12ec7dd4587a646c6bd6aa03c7ded (diff) | |
download | linux-228020b490eda9133c9cb6f59a5ee1278d8c463f.tar.xz |
perf: Re-instate the linear PMU search
Full revert of commit 9551fbb64d09 ("perf/core: Remove pmu linear
searching code").
Some architectures (notably arm/arm64) still relied on the linear
search in order to find the PMU that consumes
PERF_TYPE_{HARDWARE,HW_CACHE,RAW}.
This will need a more thorought audit and cleanup.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20230605101401.GL38236@hirez.programming.kicks-ass.net
Diffstat (limited to 'include/linux/msi.h')
0 files changed, 0 insertions, 0 deletions