Skip to content

support PERF_SAMPLE_PHYS_ADDR (user)

[email protected] lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Don't mandate SAMPLE_ADDR when SAMPLE_PHYS_ADDR
- Update change log

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf tools: support new sample type for physical addresstools/include/uapi/linux/perf_event.h tools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c +3 more+28 -22 replies
2/5perf tools: add sort option for physical addresstools/perf/Documentation/perf-report.txt tools/perf/util/hist.c tools/perf/util/hist.h +5 more+59 -20 replies
3/5perf mem: support physical addresstools/perf/Documentation/perf-mem.txt tools/perf/builtin-mem.c+75 -260 replies
4/5perf script: support physical addresstools/perf/Documentation/perf-script.txt tools/perf/builtin-script.c+14 -30 replies
5/5perf test: add test case for PERF_SAMPLE_PHYS_ADDRtools/perf/tests/sample-parsing.c+5 -10 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchJiri Olsa
SeriesT-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/5] support PERF_SAMPLE_PHYS_ADDR (user)

From: Kan Liang <[email protected]>

The patch series is to support PERF_SAMPLE_PHYS_ADDR in user perf tool. The kernel patch has been merged, which commit ID is fc7ce9c74c3a ("perf/core, x86: Add PERF_SAMPLE_PHYS_ADDR").

Changes since V1:
- Don't mandate SAMPLE_ADDR when SAMPLE_PHYS_ADDR
- Update change log

Kan Liang (5):
perf tools: support new sample type for physical address perf tools: add sort option for physical address perf mem: support physical address
perf script: support physical address
perf test: add test case for PERF_SAMPLE_PHYS_ADDR

 tools/include/uapi/linux/perf_event.h    |  4 +-
 tools/perf/Documentation/perf-mem.txt    |  4 ++
 tools/perf/Documentation/perf-record.txt |  5 +-
 tools/perf/Documentation/perf-report.txt |  1 +
 tools/perf/Documentation/perf-script.txt |  2 +-
 tools/perf/builtin-mem.c                 | 97 +++++++++++++++++++++++---------
 tools/perf/builtin-record.c              |  2 +
 tools/perf/builtin-script.c              | 15 ++++-
 tools/perf/perf.h                        |  1 +
 tools/perf/tests/sample-parsing.c        |  6 +-
 tools/perf/util/event.h                  |  1 +
 tools/perf/util/evsel.c                  | 17 ++++++
 tools/perf/util/hist.c                   |  4 ++
 tools/perf/util/hist.h                   |  1 +
 tools/perf/util/machine.c                |  8 ++-
 tools/perf/util/session.c                |  3 +
 tools/perf/util/sort.c                   | 42 ++++++++++++++
 tools/perf/util/sort.h                   |  1 +
 tools/perf/util/symbol.h                 |  1 +
 19 files changed, 181 insertions(+), 34 deletions(-)
Signature · 1 line
2.4.3