[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250114231332.13419-1-irogers@google.com>
Date: Tue, 14 Jan 2025 15:13:28 -0800
From: Ian Rogers <irogers@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>,
Kan Liang <kan.liang@...ux.intel.com>, James Clark <james.clark@...aro.org>,
Ze Gao <zegao2021@...il.com>, Weilin Wang <weilin.wang@...el.com>,
Jean-Philippe Romain <jean-philippe.romain@...s.st.com>, Junhao He <hejunhao3@...wei.com>,
Yicong Yang <yangyicong@...ilicon.com>, linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v1 0/4] perf hwmon related improvements
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
Powered by blists - more mailing lists