diff options
author | Adrian Hunter <[email protected]> | 2021-02-18 11:57:54 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-02-18 16:13:56 -0300 |
commit | 80a038860b5ca3aa864756ad6bfe1af5ac5839b0 (patch) | |
tree | 4a4439f9bdfc1e3069d3f7000e1ea9a6bc20b91c /scripts/gdb/linux/timerlist.py | |
parent | 90af7555c36fa02e686a6a0db8be626ca7bb438f (diff) |
perf intel-pt: Amend decoder to track the NR flag
The PIP packet NR (non-root) flag indicates whether or not a virtual
machine is being traced (NR=1 => VM). Add support for tracking its value.
In particular note that the PIP packet (outside of PSB+) will be
associated with a TIP packet from which address the NR value takes
effect. At that point, there is a branch from_ip, to_ip with
corresponding from_nr and to_nr.
In the event of VM-Entry failure, there should still PIP and TIP packets
that can be followed in the same way.
Also note that this assumes that a host VMM is not employing VMX controls
that affect Intel PT, e.g. to hide the host from a guest using Intel PT.
Signed-off-by: Adrian Hunter <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Cc: Alexander Shishkin <[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 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions