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

Adrian Hunter posted 3 patches 4 years ago
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(-)
[PATCH 0/3] perf intel-pt: Add support for emulated ptwrite
Posted by Adrian Hunter 4 years ago
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
Re: [PATCH 0/3] perf intel-pt: Add support for emulated ptwrite
Posted by Adrian Hunter 3 years, 11 months ago
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?

> 
> 
> 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
Re: [PATCH 0/3] perf intel-pt: Add support for emulated ptwrite
Posted by Arnaldo Carvalho de Melo 3 years, 11 months ago
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