Skip to content

Test fixes and debug logging

Ian Rogers linux-perf-users lkml 2 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v14 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4perf test: Be tolerant of missing json metric none valuetools/perf/tests/shell/lib/perf_json_output_lint.py+4 -10 replies
2/4perf parse-events: Add debug logging to perf_eventtools/perf/util/parse-events.c+2 -00 replies
3/4perf test: Don't fail if user rdpmc returns 0 when disabledtools/perf/tests/mmap-basic.c+1 -10 replies
4/4perf stat: Display metric-only for 0 counterstools/perf/util/stat-display.c+3 -00 replies

Reviews trailers per patch

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

Read the v2 thread

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

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/[email protected]/

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