diff options
| author | Ian Rogers <[email protected]> | 2023-08-24 04:13:19 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-24 14:00:09 +0000 |
| commit | e3edd6cf6399f17114081d0e20f31ddadafb70b5 (patch) | |
| tree | ccff8d4bda9776d1dec664ff73e6c75ccaf2116f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | perf s390 s390_cpumcfdg_dump: Don't scan all PMUs (diff) | |
| download | kernel-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
