Skip to content

perf intel-pt: Sampling improvements

Adrian Hunter linux-perf-users lkml 1 version Applied

Status from this message: The following commit has been merged into the perf/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/16perf auxtrace: Add ->evsel_is_auxtrace() callbacktools/perf/util/auxtrace.c tools/perf/util/auxtrace.h+21 -00 replies
2/16perf intel-pt: Implement ->evsel_is_auxtrace() callbacktools/perf/util/intel-pt.c+10 -00 replies
3/16perf intel-bts: Implement ->evsel_is_auxtrace() callbacktools/perf/util/intel-bts.c+10 -00 replies
4/16perf arm-spe: Implement ->evsel_is_auxtrace() callbacktools/perf/util/arm-spe.c+10 -01 reply
5/16perf cs-etm: Implement ->evsel_is_auxtrace() callbacktools/perf/util/cs-etm.c+11 -01 reply
6/16perf s390-cpumsf: Implement ->evsel_is_auxtrace() callbacktools/perf/util/s390-cpumcf-kernel.h tools/perf/util/s390-cpumsf.c+10 -01 reply
7/16perf auxtrace: For reporting purposes, un-group AUX area eventtools/perf/util/auxtrace.c+55 -50 replies
8/16perf auxtrace: Add an option to synthesize callchains for regular eventstools/perf/Documentation/itrace.txt tools/perf/builtin-report.c tools/perf/builtin-script.c +3 more+12 -40 replies
9/16perf thread-stack: Add thread_stack__sample_late()tools/perf/util/thread-stack.c tools/perf/util/thread-stack.h+60 -00 replies
10/16perf tools: Add support for synthesized sample typetools/perf/util/evsel.c tools/perf/util/evsel.h+15 -23 replies
11/16perf intel-pt: Add support for synthesizing callchains for regular eventstools/perf/util/intel-pt.c+61 -74 replies
12/16perf tools: Move and globalize perf_evsel__find_pmu() and perf_evsel__is_aux_event()tools/perf/util/auxtrace.c tools/perf/util/evsel.c tools/perf/util/evsel.h+23 -192 replies
13/16perf tools: Move leader-sampling configurationtools/perf/util/evsel.c tools/perf/util/record.c+29 -191 reply
14/16perf tools: Rearrange perf_evsel__config_leader_sampling()tools/perf/util/record.c+13 -130 replies
15/16perf tools: Allow multiple read formatstools/perf/util/evlist.c+4 -20 replies
16/16perf tools: Add support for leader-sampling with AUX area eventstools/perf/Documentation/perf-list.txt tools/perf/util/record.c+41 -50 replies

Reviews trailers per patch

3 of 16 patches have a Reviewed-by or Acked-by.

PatchThomas RichterMathieu PoirierLeo Yan
1/16
2/16
3/16
4/16R-b
5/16R-b
6/16A-b
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/16] perf intel-pt: Sampling improvements

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