Skip to content

perf intel-pt: Add support for synthesizing branch stacks for regular events

Adrian Hunter lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9perf thread-stack: Add branch stack supporttools/perf/util/intel-bts.c tools/perf/util/intel-pt.c tools/perf/util/thread-stack.c +1 more+108 -140 replies
2/9perf intel-pt: Consolidate thread-stack use conditiontools/perf/util/intel-pt.c+6 -20 replies
3/9perf intel-pt: Change branch stack support to use thread-stackstools/perf/util/intel-pt.c+39 -1020 replies
4/9perf auxtrace: Add option to synthesize branch stack for regular eventstools/perf/Documentation/itrace.txt tools/perf/builtin-inject.c tools/perf/builtin-report.c +3 more+15 -50 replies
5/9perf evsel: Add support for synthesized branch stack sample typetools/perf/util/evsel.h tools/perf/util/session.c+11 -10 replies
6/9perf thread-stack: Add thread_stack__br_sample_late()tools/perf/util/thread-stack.c tools/perf/util/thread-stack.h+107 -00 replies
7/9perf intel-pt: Add support for synthesizing branch stacks for regular eventstools/perf/util/intel-pt.c+66 -70 replies
8/9perf intel-pt: Update documentation about itrace G and L optionstools/perf/Documentation/itrace.txt tools/perf/Documentation/perf-intel-pt.txt+39 -03 replies
9/9perf intel-pt: Update documentation about using /proc/kcoretools/perf/Documentation/perf-intel-pt.txt+9 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] perf intel-pt: Add support for synthesizing branch stacks for regular events

Hi

This patchset adds Intel PT support for synthesizing branch stacks for regular events. This follows on from the patchset that did the same thing for call chains.

The first 3 patches convert Intel PT to using thread-stack to record branch stacks, which allows branch stacks to be accumulated separately for each thread.

The next 3 patches add support for synthesizing branch stacks for regular events.

The final 2 patches update some documentation.

Adrian Hunter (9):
perf thread-stack: Add branch stack support
perf intel-pt: Consolidate thread-stack use condition
perf intel-pt: Change branch stack support to use thread-stacks perf auxtrace: Add option to synthesize branch stack for regular events perf evsel: Add support for synthesized branch stack sample type perf thread-stack: Add thread_stack__br_sample_late()
perf intel-pt: Add support for synthesizing branch stacks for regular events perf intel-pt: Update documentation about itrace G and L options perf intel-pt: Update documentation about using /proc/kcore

 tools/perf/Documentation/itrace.txt        |   5 +
 tools/perf/Documentation/perf-intel-pt.txt |  53 +++++--
 tools/perf/builtin-inject.c                |   3 +-
 tools/perf/builtin-report.c                |   5 +-
 tools/perf/util/auxtrace.c                 |   6 +-
 tools/perf/util/auxtrace.h                 |   2 +
 tools/perf/util/evsel.h                    |  10 ++
 tools/perf/util/intel-bts.c                |   2 +-
 tools/perf/util/intel-pt.c                 | 210 ++++++++++++++--------------
 tools/perf/util/s390-cpumsf.c              |   3 +-
 tools/perf/util/session.c                  |   2 +-
 tools/perf/util/thread-stack.c             | 217 +++++++++++++++++++++++++++--
 tools/perf/util/thread-stack.h             |   8 +-
 13 files changed, 393 insertions(+), 133 deletions(-)

Regards
Adrian