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

Ian Rogers posted 4 patches 1 month ago
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(-)
[PATCH v2 0/4] Test fixes and debug logging
Posted by Ian Rogers 1 month ago
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@google.com/

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
Re: [PATCH v2 0/4] Test fixes and debug logging
Posted by Namhyung Kim 1 month ago
On Wed, 12 Nov 2025 11:53:07 -0800, Ian Rogers wrote:
> 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@google.com/
> 
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung