diff options
author | Ian Rogers <[email protected]> | 2024-04-15 23:15:17 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-26 22:07:20 -0300 |
commit | 8b734eaa98ac3f22bbaa253273fd16f391b3d5f8 (patch) | |
tree | d423154e45983f4f9f2ad84a3618524c139e1450 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | e0c48bf9e80ceefb83d74999adeeddbdd95f4c1d (diff) |
perf parse-events: Factor out '<event_or_pmu>/.../' parsing
Factor out the case of an event or PMU name followed by a slash based
term list. This is with a view to sharing the code with new legacy
hardware parsing. Use early return to reduce indentation in the code.
Make parse_events_add_pmu static now it doesn't need sharing with
parse-events.y.
Signed-off-by: Ian Rogers <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Tested-by: Atish Patra <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Beeman Strong <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions