Skip to content

perf intel-pt: Prepare for PEBS via PT

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11perf intel-pt: Add new packets for PEBS via PTtools/perf/util/intel-pt-decoder/intel-pt-decoder.c tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h +1 more+193 -97 replies
2/11perf intel-pt: Add Intel PT packet decoder testtools/perf/arch/x86/include/arch-tests.h tools/perf/arch/x86/tests/Build tools/perf/arch/x86/tests/arch-tests.c +1 more+310 -10 replies
3/11perf intel-pt: Add decoder support for PEBS via PTtools/perf/util/intel-pt-decoder/intel-pt-decoder.c tools/perf/util/intel-pt-decoder/intel-pt-decoder.h+214 -10 replies
4/11perf intel-pt: Prepare to synthesize PEBS samplestools/perf/util/intel-pt.c+18 -00 replies
5/11perf intel-pt: Factor out common sample preparation for re-usetools/perf/util/intel-pt.c+16 -70 replies
6/11perf intel-pt: Synthesize PEBS sample basic informationtools/perf/util/intel-pt.c+50 -20 replies
7/11perf intel-pt: Add gp registers to synthesized PEBS sampletools/perf/util/intel-pt.c+69 -00 replies
8/11perf intel-pt: Add xmm registers to synthesized PEBS sampletools/perf/util/intel-pt.c+29 -10 replies
9/11perf intel-pt: Add lbr information to synthesized PEBS sampletools/perf/util/intel-pt.c+72 -00 replies
10/11perf intel-pt: Add memory information to synthesized PEBS sampletools/perf/util/intel-pt.c+27 -00 replies
11/11perf intel-pt: Add callchain to synthesized PEBS sampletools/perf/util/intel-pt.c+8 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/11] perf intel-pt: Prepare for PEBS via PT

Hi

PEBS via PT is a new feature that encodes PEBS events into the Intel PT trace. This patch series is preparation. Alex has posted his kernel support:

    https://lkml.org/lkml/2019/5/2/323

This patch set adds the packet definitions and a new packet decoder test, followed by patches that enable synthesizing PEBS samples.

Adrian Hunter (11):
perf intel-pt: Add new packets for PEBS via PT
perf intel-pt: Add Intel PT packet decoder test
perf intel-pt: Add decoder support for PEBS via PT perf intel-pt: Prepare to synthesize PEBS samples perf intel-pt: Factor out common sample preparation for re-use perf intel-pt: Synthesize PEBS sample basic information perf intel-pt: Add gp registers to synthesized PEBS sample perf intel-pt: Add xmm registers to synthesized PEBS sample perf intel-pt: Add lbr information to synthesized PEBS sample perf intel-pt: Add memory information to synthesized PEBS sample perf intel-pt: Add callchain to synthesized PEBS sample

 tools/perf/arch/x86/include/arch-tests.h           |   1 +
 tools/perf/arch/x86/tests/Build                    |   2 +-
 tools/perf/arch/x86/tests/arch-tests.c             |   4 +
 .../arch/x86/tests/intel-pt-pkt-decoder-test.c     | 304 +++++++++++++++++++++
 .../perf/util/intel-pt-decoder/intel-pt-decoder.c  | 114 +++++++-
 .../perf/util/intel-pt-decoder/intel-pt-decoder.h  | 137 ++++++++++
 .../util/intel-pt-decoder/intel-pt-pkt-decoder.c   | 140 +++++++++-
 .../util/intel-pt-decoder/intel-pt-pkt-decoder.h   |  21 +-
 tools/perf/util/intel-pt.c                         | 296 +++++++++++++++++++-
 9 files changed, 1002 insertions(+), 17 deletions(-)
 create mode 100644 tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c

Regards
Adrian