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

kan.liang
2017-08-29T17:11:59Z

From: Kan Liang <kan.liang@intel.com>

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(-)

--
2.4.3