[PATCH v2 0/4] Test fixes and debug logging

From: Ian Rogers

Date: Wed Nov 12 2025 - 14:53:18 EST


Testing in a hypervisor guest showed some issues that these patches
try to address, or improve the debug situation upon.

v2: Rebase. Tested Arnaldo repeat case on Intel but didn't repro,
assume was fixed as part of the legacy metric json test fixes.

v1: https://lore.kernel.org/lkml/20250914182900.1960567-1-irogers@xxxxxxxxxx/

Ian Rogers (4):
perf test: Be tolerant of missing json metric none value
perf parse-events: Add debug logging to perf_event
perf test: Don't fail if user rdpmc returns 0 when disabled
perf stat: Display metric-only for 0 counters

tools/perf/tests/mmap-basic.c | 2 +-
tools/perf/tests/shell/lib/perf_json_output_lint.py | 5 ++++-
tools/perf/util/parse-events.c | 2 ++
tools/perf/util/stat-display.c | 3 +++
4 files changed, 10 insertions(+), 2 deletions(-)

--
2.51.2.1041.gc1ab5b90ca-goog