aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2021-04-30 10:03:05 +0300
committerArnaldo Carvalho de Melo <[email protected]>2021-05-12 12:43:11 -0300
commit0fc9d338944254561289e8639ac05ebf72b4b082 (patch)
treea37d389d349b3950e94f739ec25f28e6f1760b99 /tools/perf/scripts/python/export-to-postgresql.py
parent335358cc3090d85793c663a625fa1c9195b8670e (diff)
perf intel-pt: Add a tree for VMCS information
Even when VMX TSC Offset is not changing (during perf record), different virtual machines can have different TSC Offsets. There is a Virtual Machine Control Structure (VMCS) for each virtual CPU, the address of which is reported to Intel PT in the VMCS packet. We do not know which VMCS belongs to which virtual machine, so use a tree to keep track of VMCS information. Then the decoder will be able to use the current VMCS value to look up the current TSC Offset. Signed-off-by: Adrian Hunter <[email protected]> Reviewed-by: Andi Kleen <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions