aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-07-30 12:17:43 -0700
committerArnaldo Carvalho de Melo <[email protected]>2024-08-01 12:11:33 -0300
commit0f2c0400b560a3752fac9e583c1576a53a51cde9 (patch)
tree0288e4613e6408c2c43484f0cab350705e5fce2f /tools/perf/scripts/python
parentb48543c451c30387b53ee6e202dda8d5303f6268 (diff)
perf jevents: Use name for special find value (PMU_EVENTS__NOT_FOUND)
-1000 was used as a special value added in Commit 3d5045492ab2 ("perf pmu-events: Add pmu_events_table__find_event()") to show that 1 table lacked a PMU/event but that didn't terminate the search in other tables. Add a new constant PMU_EVENTS__NOT_FOUND for this value and use it. Reviewed-by: John Garry <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jing Zhang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Oliver Sang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Philip Li <[email protected]> Cc: Sandipan Das <[email protected]> Cc: Weilin Wang <[email protected]> Cc: Xu Yang <[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')
0 files changed, 0 insertions, 0 deletions