aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2022-05-09 18:23:58 +0300
committerArnaldo Carvalho de Melo <[email protected]>2022-05-17 11:55:49 -0300
commitd7015e50a9ed180dcc3947635bb2b5711c37f48b (patch)
treef16c317f303979c5b3b6c91f6026083d31e5c18d /tools/perf/scripts/python/intel-pt-events.py
parentdf36d2572e0515dc190459489c159b78bb3a21fc (diff)
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 <[email protected]> Cc: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions