diff options
| author | Ian Rogers <[email protected]> | 2025-05-27 21:50:35 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2025-05-28 13:12:47 +0000 |
| commit | 2a2a7f5e7deffa363b438308812989ded126a48a (patch) | |
| tree | b05be6ca65f6d687d676c55b1663dd536a6c0ffd /rust/helpers/helpers.c | |
| parent | perf machine: Factor creating a "live" machine out of dwarf-unwind (diff) | |
| download | kernel-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
