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

From: Arnaldo Carvalho de Melo
Date: Tue May 17 2022 - 10:56:52 EST


Em Tue, May 17, 2022 at 04:13:14PM +0300, Adrian Hunter escreveu:
> On 9/05/22 18:23, Adrian Hunter wrote:
> > 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.
>
> Is this OK?

yeah, thanks, applied.

- Arnaldo

> >
> >
> > 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

--

- Arnaldo