aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-06-27 11:28:34 -0700
committerNamhyung Kim <[email protected]>2023-06-27 23:38:39 -0700
commit628eaa4e877af8230ef7326d378e15d511c506ba (patch)
treee2fb65c08dcc3f0ae94370e41dc672cc0f1d2ee3 /tools/perf/util/trace-event-scripting.c
parentad5f604e186ac08d12c401e34ea96c09c38ddbc5 (diff)
perf pmus: Add placeholder core PMU
If loading a core PMU fails, legacy hardware/cache events may segv due to there being no PMU. Create a placeholder empty PMU for this case. This was discussed in: https://lore.kernel.org/lkml/[email protected]/ Reported-by: Yang Jihong <[email protected]> Tested-by: Yang Jihong <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: James Clark <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Suzuki Poulouse <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Rob Herring <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Kan Liang <[email protected]> Cc: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions