Commit 7be51cc
Peter Zijlstra
perf: Fix pmu_filter_match()
Mark reported that the new for_each_sibling_event() assertion triggers
in pmu_filter_match() -- which isn't always called with IRQs disabled
or ctx->mutex held.
Fixes: f3c0eba ("perf: Add a few assertions")
Reported-by: Mark Rutland <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/YvvJq2f/7eFVcnNy@FVFF77S0Q05N1 parent 0ce3804 commit 7be51cc
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2226 | 2226 | | |
2227 | 2227 | | |
2228 | 2228 | | |
| 2229 | + | |
| 2230 | + | |
2229 | 2231 | | |
2230 | 2232 | | |
2231 | 2233 | | |
2232 | 2234 | | |
| 2235 | + | |
2233 | 2236 | | |
2234 | | - | |
2235 | | - | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2236 | 2241 | | |
| 2242 | + | |
2237 | 2243 | | |
2238 | | - | |
| 2244 | + | |
2239 | 2245 | | |
2240 | 2246 | | |
2241 | 2247 | | |
| |||
0 commit comments