linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 00/12] Python motivated fixes and cleanup
@ 2025-07-09 21:40 Ian Rogers
  2025-07-09 21:40 ` [PATCH v1 01/12] perf hwmon_pmu: Avoid shortening hwmon PMU name Ian Rogers
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Ian Rogers @ 2025-07-09 21:40 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, Xu Yang,
	Howard Chu, Dr. David Alan Gilbert, Levi Yun, Andi Kleen,
	Thomas Richter, Weilin Wang, Tiezhu Yang, Gautam Menghani,
	linux-perf-users, linux-kernel

Various fixes and clean ups done as part of creating the ilist app,
the v4 patch series of which is posted here:
https://lore.kernel.org/lkml/20250628000929.230406-1-irogers@google.com/

These patches are separated out to give something smaller to review
before adding features. As requested by Namhyung.

Ian Rogers (12):
  perf hwmon_pmu: Avoid shortening hwmon PMU name
  perf parse-events: Minor tidy up of event_type helper
  perf spark: Fix includes and add SPDX
  perf pmu: Tolerate failure to read the type for wellknown PMUs
  perf metricgroup: Factor out for-each function and move out printing
  perf stat: Move metric list from config to evlist
  perf expr: Accumulate rather than replace in the context counts
  perf jevents: If the long_desc and desc are identical then drop the
    long_desc
  perf python: In str(evsel) use the evsel__pmu_name helper
  perf python: Fix thread check in pyrf_evsel__read
  perf python: Correct pyrf_evsel__read for tool PMUs
  perf python: Improve leader copying from evlist

 tools/perf/builtin-script.c              |   3 +-
 tools/perf/builtin-stat.c                |  25 ++-
 tools/perf/pmu-events/empty-pmu-events.c | 128 +++++------
 tools/perf/pmu-events/jevents.py         |   3 +
 tools/perf/tests/expand-cgroup.c         |  24 +--
 tools/perf/tests/parse-metric.c          |  16 +-
 tools/perf/tests/pmu-events.c            |  30 +--
 tools/perf/util/cgroup.c                 |  23 +-
 tools/perf/util/cgroup.h                 |   3 +-
 tools/perf/util/evlist.c                 |   3 +
 tools/perf/util/evlist.h                 |   6 +
 tools/perf/util/expr.c                   |   6 +-
 tools/perf/util/hwmon_pmu.c              |   2 +-
 tools/perf/util/metricgroup.c            | 261 ++++-------------------
 tools/perf/util/metricgroup.h            |  10 +-
 tools/perf/util/parse-events.c           |  31 ++-
 tools/perf/util/parse-events.h           |   2 +-
 tools/perf/util/pmu.c                    |  37 +++-
 tools/perf/util/print-events.c           | 133 ++++++++++++
 tools/perf/util/print-events.h           |   2 +
 tools/perf/util/python.c                 |  91 +++++++-
 tools/perf/util/spark.c                  |   8 +-
 tools/perf/util/spark.h                  |   1 +
 tools/perf/util/stat-display.c           |  16 +-
 tools/perf/util/stat-shadow.c            |  13 +-
 tools/perf/util/stat.h                   |  12 +-
 26 files changed, 443 insertions(+), 446 deletions(-)

-- 
2.50.0.727.gbf7dc18ff4-goog


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

end of thread, other threads:[~2025-07-09 21:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09 21:40 [PATCH v1 00/12] Python motivated fixes and cleanup Ian Rogers
2025-07-09 21:40 ` [PATCH v1 01/12] perf hwmon_pmu: Avoid shortening hwmon PMU name Ian Rogers
2025-07-09 21:40 ` [PATCH v1 02/12] perf parse-events: Minor tidy up of event_type helper Ian Rogers
2025-07-09 21:40 ` [PATCH v1 03/12] perf spark: Fix includes and add SPDX Ian Rogers
2025-07-09 21:40 ` [PATCH v1 04/12] perf pmu: Tolerate failure to read the type for wellknown PMUs Ian Rogers
2025-07-09 21:40 ` [PATCH v1 05/12] perf metricgroup: Factor out for-each function and move out printing Ian Rogers
2025-07-09 21:40 ` [PATCH v1 06/12] perf stat: Move metric list from config to evlist Ian Rogers
2025-07-09 21:40 ` [PATCH v1 07/12] perf expr: Accumulate rather than replace in the context counts Ian Rogers
2025-07-09 21:40 ` [PATCH v1 08/12] perf jevents: If the long_desc and desc are identical then drop the long_desc Ian Rogers
2025-07-09 21:40 ` [PATCH v1 09/12] perf python: In str(evsel) use the evsel__pmu_name helper Ian Rogers
2025-07-09 21:40 ` [PATCH v1 10/12] perf python: Fix thread check in pyrf_evsel__read Ian Rogers
2025-07-09 21:40 ` [PATCH v1 11/12] perf python: Correct pyrf_evsel__read for tool PMUs Ian Rogers
2025-07-09 21:40 ` [PATCH v1 12/12] perf python: Improve leader copying from evlist Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).