Skip to content

perf hwmon related improvements

Ian Rogers linux-perf-users lkml 3 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 5 repliesApplied
  2. v25 patches 5 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5perf evsel: Reduce scanning core PMUs in is_hybridtools/perf/util/evsel.c+2 -20 replies
2/5perf pmus: Restructure pmu_read_sysfs to scan fewer PMUstools/perf/util/pmu.h tools/perf/util/pmus.c+97 -510 replies
3/5perf pmu: Rename name matching for no suffix or wildcard variantstools/perf/pmu-events/empty-pmu-events.c tools/perf/pmu-events/jevents.py tools/perf/tests/pmu.c +3 more+235 -1293 replies
4/5perf stat: Don't merge counters purely on nametools/perf/util/stat.c+11 -20 replies
5/5perf stat: Changes to event name uniquificationtools/perf/util/evsel.h tools/perf/util/stat-display.c+79 -330 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKan Liang
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] 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. Tidy PMU name matching to distinguish no suffix or wildcard matching. Refactor uniquification so the evsels with the same name as other evsels in the evlist are uniquified.

v3: Address potential segv and styling nits from Kan Liang.
v2: Rename ignore suffix PMU name matching that is really a
wildcard/prefix match. Use a proper ignore suffix when not merging counters purely on name.

Ian Rogers (5):
perf evsel: Reduce scanning core PMUs in is_hybrid perf pmus: Restructure pmu_read_sysfs to scan fewer PMUs perf pmu: Rename name matching for no suffix or wildcard variants perf stat: Don't merge counters purely on name
perf stat: Changes to event name uniquification

 tools/perf/pmu-events/empty-pmu-events.c |   8 +-
 tools/perf/pmu-events/jevents.py         |   8 +-
 tools/perf/tests/pmu.c                   |  85 ++++----
 tools/perf/util/evsel.c                  |   4 +-
 tools/perf/util/evsel.h                  |   1 +
 tools/perf/util/parse-events.c           |   2 +-
 tools/perf/util/pmu.c                    | 256 ++++++++++++++++-------
 tools/perf/util/pmu.h                    |   7 +-
 tools/perf/util/pmus.c                   | 146 ++++++++-----
 tools/perf/util/stat-display.c           | 111 +++++++---
 tools/perf/util/stat.c                   |  13 +-
 11 files changed, 424 insertions(+), 217 deletions(-)
Signature · 1 line
2.48.1.362.g079036d154-goog