diff options
author | Ian Rogers <[email protected]> | 2023-08-23 21:13:24 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-24 11:07:39 -0300 |
commit | 7c52f10c0d4d8db86ef94b40446efbe291d067dc (patch) | |
tree | 9fa99ecad03a16158fe02862b751455bfb6c5f25 /tools/perf/scripts/python | |
parent | f63a536f03a2f64fa9a75369e2d006d77f90c156 (diff) |
perf pmu: Cache JSON events table
Cache the JSON events table so that finding it isn't done per
event/alias.
Change the events table find so that when the PMU is given, if the PMU
has no JSON events return null.
Update usage to always use the PMU variable.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Gaosheng Cui <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jing Zhang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Rob Herring <[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