perf script: Add branch types for VM-Entry and VM-Exit
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 18 Feb 2021 09:57:51 +0000 (11:57 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 18 Feb 2021 19:12:51 +0000 (16:12 -0300)
commitc025d46cd932ccaa6448e173df88197bc851d3d7
tree61902795c7b4a94f9aa68d03a375b6973d7156da
parentd58b3f7e701408ac41b0a8342f26bbf9a5597f05
perf script: Add branch types for VM-Entry and VM-Exit

In preparation to support Intel PT decoding of virtual machine traces, add
branch types for VM-Entry and VM-Exit.

Note they are both treated as "calls" because the VM-Exit transfers control
to a different address.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210218095801.19576-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/db-export.c
tools/perf/util/event.h