[PATCH v9 0/2] perf test & PMU metric resolution improvements
From: Ian Rogers
Date: Thu Jun 04 2026 - 12:45:15 EST
This series contains the final remaining unmerged patch for the perf test
improvements sent as v8 in:
https://lore.kernel.org/lkml/20260602174129.3192312-1-irogers@xxxxxxxxxx/
v9 Changes
----------
- Patch 1: Resubmitted the "perf pmu: Recognize 'default_core' as a core PMU..."
patch, but this time with a squashed fix for a metric resolution bug due to
its use of is_pmu_core.
- Patch 2: Added explicit clamping for max_desc_width and width based on the
buffer size in format_test_description() to satisfy GCC 16 and prevent the
-Wformat-truncation warning reported by the maintainer.
Ian Rogers (2):
perf pmu: Recognize 'default_core' as a core PMU and document matching
perf test: Truncate printed test descriptions dynamically to avoid
terminal wrapping
tools/perf/tests/builtin-test.c | 70 +++++++++++++++++++++++++++++----
tools/perf/util/metricgroup.c | 3 +-
tools/perf/util/pmu.c | 19 ++++++++-
3 files changed, 83 insertions(+), 9 deletions(-)
--
2.54.0.1032.g2f8565e1d1-goog