[PATCH 00/16] perf intel-pt: Sampling improvements
From: Adrian Hunter
Date: Wed Apr 01 2020 - 06:17:34 EST
Hi
Here are 3 sampling improvements for Intel PT:
1. Patches 1 to 7
For reporting purposes, un-group AUX area event
Please example in patch 7
2. Patches 8 to 11
Add support for synthesizing callchains for regular events
Please see example in patch 11
3. Patches 12 to 16
Add support for leader-sampling with AUX area event
Please see example in patch 16
Patches also found here:
git.infradead.org:/srv/git/users/ahunter/linux-perf.git callchain
Adrian Hunter (16):
perf auxtrace: Add ->evsel_is_auxtrace() callback
perf intel-pt: Implement ->evsel_is_auxtrace() callback
perf intel-bts: Implement ->evsel_is_auxtrace() callback
perf arm-spe: Implement ->evsel_is_auxtrace() callback
perf cs-etm: Implement ->evsel_is_auxtrace() callback
perf s390-cpumsf: Implement ->evsel_is_auxtrace() callback
perf auxtrace: For reporting purposes, un-group AUX area event
perf auxtrace: Add an option to synthesize callchains for regular events
perf thread-stack: Add thread_stack__sample_late()
perf tools: Add support for synthesized sample type
perf intel-pt: Add support for synthesizing callchains for regular events
perf tools: Move and globalize perf_evsel__find_pmu() and perf_evsel__is_aux_event()
perf tools: Move leader-sampling configuration
perf tools: Rearrange perf_evsel__config_leader_sampling()
perf tools: Allow multiple read formats
perf tools: Add support for leader-sampling with AUX area events
tools/perf/Documentation/itrace.txt | 1 +
tools/perf/Documentation/perf-list.txt | 3 ++
tools/perf/builtin-report.c | 3 +-
tools/perf/builtin-script.c | 2 +-
tools/perf/util/arm-spe.c | 10 ++++
tools/perf/util/auxtrace.c | 94 +++++++++++++++++++++++++---------
tools/perf/util/auxtrace.h | 14 +++++
tools/perf/util/cs-etm.c | 11 ++++
tools/perf/util/evlist.c | 6 ++-
tools/perf/util/evsel.c | 41 +++++++--------
tools/perf/util/evsel.h | 18 ++++++-
tools/perf/util/intel-bts.c | 10 ++++
tools/perf/util/intel-pt.c | 78 +++++++++++++++++++++++++---
tools/perf/util/record.c | 62 ++++++++++++++++++++++
tools/perf/util/s390-cpumcf-kernel.h | 1 +
tools/perf/util/s390-cpumsf.c | 11 +++-
tools/perf/util/thread-stack.c | 57 +++++++++++++++++++++
tools/perf/util/thread-stack.h | 3 ++
18 files changed, 367 insertions(+), 58 deletions(-)
Regards
Adrian