Skip to content

perf test & PMU metric resolution improvements

Ian Rogers linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest2 patches 3 repliesIn review

Changes in v9 from the cover letter

----------
- 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.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf pmu: Recognize 'default_core' as a core PMU and document matchingtools/perf/util/metricgroup.c tools/perf/util/pmu.c+20 -20 replies
2/2perf test: Truncate printed test descriptions dynamically to avoid terminal wrappingtools/perf/tests/builtin-test.c+63 -74 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.

Read the v9 thread

Cover letter [PATCH v9 0/2] perf test & PMU metric resolution improvements

This series contains the final remaining unmerged patch for the perf test improvements sent as v8 in:
https://lore.kernel.org/lkml/[email protected]/

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(-)
Signature · 1 line
2.54.0.1032.g2f8565e1d1-goog