aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-08-24 04:13:19 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-24 14:00:09 +0000
commite3edd6cf6399f17114081d0e20f31ddadafb70b5 (patch)
treeccff8d4bda9776d1dec664ff73e6c75ccaf2116f /tools/perf/scripts/python/compaction-times.py
parentperf s390 s390_cpumcfdg_dump: Don't scan all PMUs (diff)
downloadkernel-e3edd6cf6399f17114081d0e20f31ddadafb70b5.tar.gz
kernel-e3edd6cf6399f17114081d0e20f31ddadafb70b5.zip
perf pmu-events: Reduce processed events by passing PMU
Pass the PMU to pmu_events_table__for_each_event so that entries that don't match don't need to be processed by callback. If a NULL PMU is passed then all PMUs are processed. 'perf bench internals pmu-scan's "Average PMU scanning" performance is reduced by about 5% on an Intel tigerlake. 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/compaction-times.py')
0 files changed, 0 insertions, 0 deletions