public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/4] perf hwmon related improvements
@ 2025-01-14 23:13 Ian Rogers
  2025-01-14 23:13 ` [PATCH v1 1/4] perf evsel: Reduce scanning core PMUs in is_hybrid Ian Rogers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ian Rogers @ 2025-01-14 23:13 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter, Kan Liang, James Clark, Ze Gao,
	Weilin Wang, Jean-Philippe Romain, Junhao He, Yicong Yang,
	linux-perf-users, linux-kernel

Try to do less scanning of files/directories with or without hwmon
PMUs. Don't merge all events with the same name, only merge those on
the same PMU ignoring suffix. Refactor uniquification so the evsels
with the same name as other evsels in the evlist are uniquified.

Ian Rogers (4):
  perf evsel: Reduce scanning core PMUs in is_hybrid
  perf pmus: Restructure pmu_read_sysfs to scan fewer PMUs
  perf stat: Don't merge counters purely on name
  perf stat: Changes to event name uniquification

 tools/perf/util/evsel.c        |   4 +-
 tools/perf/util/evsel.h        |   1 +
 tools/perf/util/pmu.h          |   2 +
 tools/perf/util/pmus.c         | 144 +++++++++++++++++++++------------
 tools/perf/util/stat-display.c | 111 +++++++++++++++++--------
 tools/perf/util/stat.c         |  13 ++-
 6 files changed, 187 insertions(+), 88 deletions(-)

-- 
2.48.0.rc2.279.g1de40edade-goog


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-14 23:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 23:13 [PATCH v1 0/4] perf hwmon related improvements Ian Rogers
2025-01-14 23:13 ` [PATCH v1 1/4] perf evsel: Reduce scanning core PMUs in is_hybrid Ian Rogers
2025-01-14 23:13 ` [PATCH v1 2/4] perf pmus: Restructure pmu_read_sysfs to scan fewer PMUs Ian Rogers
2025-01-14 23:13 ` [PATCH v1 3/4] perf stat: Don't merge counters purely on name Ian Rogers
2025-01-14 23:13 ` [PATCH v1 4/4] perf stat: Changes to event name uniquification Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox