]> Git Repo - linux.git/commit
perf intel-pt: Adjust sample flags for VM-Exit
authorAdrian Hunter <[email protected]>
Thu, 18 Feb 2021 09:57:59 +0000 (11:57 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 18 Feb 2021 19:15:26 +0000 (16:15 -0300)
commit695fc4510615f8db40ebaf7a2c011f0a594b5f77
tree04c27d54368c72332960d4ed4457d03a2a8805d9
parent65faca5ce8629495092e9ef0731a31a6b7d9234f
perf intel-pt: Adjust sample flags for VM-Exit

Use the change of NR to detect whether an asynchronous branch is a VM-Exit.

Note VM-Entry is determined from the vmlaunch or vmresume instruction,
in which case, sample flags will show "VMentry" even if the VM-Entry fails.

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]>
tools/perf/util/intel-pt.c
This page took 0.053028 seconds and 4 git commands to generate.