aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-08-24 04:13:28 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-24 14:10:27 +0000
commit8d4b6d37ea7862d230ad2e1bd4c7d2ff5e9acd53 (patch)
treec39d7ee6301ac6dc5690b89f2e00b124eee33362 /tools/perf/scripts/python/gecko.py
parentperf pmu: Be lazy about loading event info files from sysfs (diff)
downloadkernel-8d4b6d37ea7862d230ad2e1bd4c7d2ff5e9acd53.tar.gz
kernel-8d4b6d37ea7862d230ad2e1bd4c7d2ff5e9acd53.zip
perf pmu: Lazily load sysfs aliases
Don't load sysfs aliases for a PMU when the PMU is first created, defer until an alias needs to be found. For the pmu-scan benchmark, average core PMU scanning is reduced by 30.8%, and average PMU scanning by 12.6%. 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