diff options
| author | Ian Rogers <[email protected]> | 2023-08-24 04:13:24 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-24 14:07:39 +0000 |
| commit | 7c52f10c0d4d8db86ef94b40446efbe291d067dc (patch) | |
| tree | 9fa99ecad03a16158fe02862b751455bfb6c5f25 /tools/perf/scripts/python/gecko.py | |
| parent | perf pmu: Merge JSON events with sysfs at load time (diff) | |
| download | kernel-7c52f10c0d4d8db86ef94b40446efbe291d067dc.tar.gz kernel-7c52f10c0d4d8db86ef94b40446efbe291d067dc.zip | |
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/gecko.py')
0 files changed, 0 insertions, 0 deletions
