[PATCH 0/3] perf intel-pt: Add support for emulated ptwrite

From: Adrian Hunter
Date: Mon May 09 2022 - 11:24:11 EST


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