Skip to content

perf intel-pt: Add support for emulated ptwrite

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf intel-pt: Add support for emulated ptwritetools/perf/Documentation/perf-intel-pt.txt tools/perf/util/intel-pt-decoder/intel-pt-decoder.c tools/perf/util/intel-pt-decoder/intel-pt-decoder.h +3 more+224 -30 replies
2/3perf script: Print Intel ptwrite value as a string if it is ASCIItools/perf/builtin-script.c+30 -20 replies
3/3perf scripts python: intel-pt-events.py: Print ptwrite value as a string if it is ASCIItools/perf/scripts/python/intel-pt-events.py+7 -10 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/3] perf intel-pt: Add support for emulated ptwrite

Hi

Here are 3 patches (on top of "perf intel-pt: Add link to the perf wiki's Intel PT page") to add support for decoding emulated ptwrite i.e. for hardware that does not have the ptwrite instruction.

Adrian Hunter (3):
perf intel-pt: Add support for emulated ptwrite
perf script: Print Intel ptwrite value as a string if it is ASCII
perf scripts python: intel-pt-events.py: Print ptwrite value as a string if it is ASCII

 tools/perf/Documentation/perf-intel-pt.txt         | 88 +++++++++++++++++++
 tools/perf/builtin-script.c                        | 32 ++++++-
 tools/perf/scripts/python/intel-pt-events.py       |  8 +-
 .../perf/util/intel-pt-decoder/intel-pt-decoder.c  | 99 +++++++++++++++++++++-
 .../perf/util/intel-pt-decoder/intel-pt-decoder.h  |  1 +
 .../util/intel-pt-decoder/intel-pt-insn-decoder.c  |  1 +
 .../util/intel-pt-decoder/intel-pt-insn-decoder.h  |  1 +
 tools/perf/util/intel-pt.c                         | 37 +++++++-
 8 files changed, 261 insertions(+), 6 deletions(-)

Regards
Adrian