Skip to content

perf: fix test error and improve c2c memory-region display

Dapeng Mi linux-perf-users lkml sashiko-reviews 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 Latest5 patches 2 repliesApplied
  2. v12 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5perf tests: Skip zero sample IP in object-code reading testtools/perf/tests/code-reading.c+5 -00 replies
2/5perf c2c: Fix top-level histogram ownership checktools/perf/builtin-c2c.c+9 -10 replies
3/5perf c2c: Show memory region in the per-cacheline viewtools/perf/builtin-c2c.c+31 -90 replies
4/5perf c2c: Show all memory regions in the region columntools/perf/builtin-c2c.c tools/perf/util/c2c.h+58 -300 replies
5/5perf c2c: Rename "Region" column to "Range" for consistencytools/perf/builtin-c2c.c+4 -41 reply

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/5] perf: fix test error and improve c2c memory-region display

This patch series fixes a failing object-code reading test and improves the c2c memory-region display in perf tools. In particular, it adds memory-region information to the per-cacheline view and ensures that all sampled memory regions are displayed, rather than only the last one. These changes improve correctness and make the c2c output more informative for debugging and analysis.

History:
v1: https://lore.kernel.org/all/[email protected]/

Dapeng Mi (5):
perf tests: Skip zero sample IP in object-code reading test perf c2c: Fix top-level histogram ownership check perf c2c: Show memory region in the per-cacheline view perf c2c: Show all memory regions in the region column perf c2c: Rename "Region" column to "Range" for consistency

 tools/perf/builtin-c2c.c        | 139 ++++++++++++++++++++++----------
 tools/perf/tests/code-reading.c |   5 ++
 tools/perf/util/c2c.h           |   3 +-
 3 files changed, 105 insertions(+), 42 deletions(-)

base-commit: 73adad359f45f67e81f71c016f49abd7dbf57405

Signature · 1 line
2.34.1