OSDN Git Service

perf intel-pt: Add machine_pid and vcpu to auxtrace_error
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 11 Jul 2022 09:32:16 +0000 (12:32 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Jul 2022 14:09:01 +0000 (11:09 -0300)
commit61cd9135d09bd2e1d87bef7d8af37f00ce043312
tree4939db1ca858f1a9e4c56cf3d6d7f538d956bfe6
parent71658de4dda8e0e1cffca03e859cd96485105e42
perf intel-pt: Add machine_pid and vcpu to auxtrace_error

When decoding with guest sideband information, for VMX non-root (NR)
i.e. guest errors, replace the host (hypervisor) pid/tid with guest values,
and provide also the new machine_pid and vcpu values.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: kvm@vger.kernel.org
Link: https://lore.kernel.org/r/20220711093218.10967-34-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c