aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-08-24 04:13:25 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-24 14:08:47 +0000
commite6ff1eed3584362dcf5ffb6b9daf497183b4d3a8 (patch)
tree29819cdefc880a4073488fda221e9328cbf4e124 /tools/perf/scripts/python/gecko.py
parentperf pmu: Cache JSON events table (diff)
downloadkernel-e6ff1eed3584362dcf5ffb6b9daf497183b4d3a8.tar.gz
kernel-e6ff1eed3584362dcf5ffb6b9daf497183b4d3a8.zip
perf pmu: Lazily add JSON events
Rather than scanning all JSON events and adding them when a PMU is created, add the alias when the JSON event is needed. Average core PMU scanning run time reduced by 60.2%. Average PMU scanning run time reduced by 15%. Page faults with no events reduced by 74 page faults, 4% of total. 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