Centos-kernel-stream-9/tools/perf/util/intel-pt-decoder
Michael Petlan 8643df6436 perf intel-pt: Add support for emulated ptwrite
Bugzilla: https://bugzilla.redhat.com/2123231

upstream
========
commit d7015e50a9ed180dcc3947635bb2b5711c37f48b
Author: Adrian Hunter <adrian.hunter@intel.com>
Date: Mon May 9 18:23:58 2022 +0300

description
===========
ptwrite is an Intel x86 instruction that writes arbitrary values into an
Intel PT trace. It is not supported on all hardware, so provide an
alternative that makes use of TNT packets to convey the payload data.
TNT packets encode Taken/Not-taken conditional branch information, so
taking branches based on the payload value will encode the value into
the TNT packet. Refer to the changes to the documentation file
perf-intel-pt.txt in this patch for an example.

Signed-off-by: Michael Petlan <mpetlan@redhat.com>
2022-09-21 07:23:04 +02:00
..
Build x86/insn: Use get_unaligned() instead of memcpy() 2022-05-16 10:30:47 +02:00
intel-pt-decoder.c perf intel-pt: Add support for emulated ptwrite 2022-09-21 07:23:04 +02:00
intel-pt-decoder.h perf intel-pt: Add support for emulated ptwrite 2022-09-21 07:23:04 +02:00
intel-pt-insn-decoder.c perf intel-pt: Add support for emulated ptwrite 2022-09-21 07:23:04 +02:00
intel-pt-insn-decoder.h perf intel-pt: Add support for emulated ptwrite 2022-09-21 07:23:04 +02:00
intel-pt-log.c perf intel-pt: Support itrace d+o option to direct debug log to stdout 2022-05-16 11:35:08 +02:00
intel-pt-log.h perf intel-pt: Add VM Time Correlation to decoder 2021-05-12 12:43:11 -03:00
intel-pt-pkt-decoder.c perf intel-pt: pkt-decoder: Add MODE.Exec IFLAG bit 2022-09-21 07:22:50 +02:00
intel-pt-pkt-decoder.h perf intel-pt: pkt-decoder: Add CFE and EVD packets 2022-09-21 07:22:49 +02:00