linux/tools/perf/util/intel-pt-decoder
Adrian Hunter d7015e50a9 perf intel-pt: Add support for emulated ptwrite
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: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220509152400.376613-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-05-17 11:55:49 -03:00
..
Build x86/insn: Use get_unaligned() instead of memcpy() 2021-10-06 11:56:37 +02:00
intel-pt-decoder.c perf intel-pt: Add support for emulated ptwrite 2022-05-17 11:55:49 -03:00
intel-pt-decoder.h perf intel-pt: Add support for emulated ptwrite 2022-05-17 11:55:49 -03:00
intel-pt-insn-decoder.c perf intel-pt: Add support for emulated ptwrite 2022-05-17 11:55:49 -03:00
intel-pt-insn-decoder.h perf intel-pt: Add support for emulated ptwrite 2022-05-17 11:55:49 -03:00
intel-pt-log.c perf intel-pt: Support itrace d+o option to direct debug log to stdout 2021-10-27 16:21:01 -03: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-02-15 17:06:11 -03:00
intel-pt-pkt-decoder.h perf intel-pt: pkt-decoder: Add CFE and EVD packets 2022-02-15 17:05:44 -03:00