aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-05-27 21:50:35 +0000
committerArnaldo Carvalho de Melo <[email protected]>2025-05-28 13:12:47 +0000
commit2a2a7f5e7deffa363b438308812989ded126a48a (patch)
treeb05be6ca65f6d687d676c55b1663dd536a6c0ffd /rust/helpers/helpers.c
parentperf machine: Factor creating a "live" machine out of dwarf-unwind (diff)
downloadkernel-2a2a7f5e7deffa363b438308812989ded126a48a.tar.gz
kernel-2a2a7f5e7deffa363b438308812989ded126a48a.zip
perf pmu: Avoid segv for missing name/alias_name in wildcarding
The pmu name or alias_name fields may be NULL and should be skipped if so. This is done in all loops of perf_pmu___name_match except the final wildcard loop which was an oversight. Fixes: 63e287131cf0c59b ("perf pmu: Rename name matching for no suffix or wildcard variants") Signed-off-by: Ian Rogers <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Fixup the Fixes: tag to the right commit ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions