diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-02-18 11:57:53 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-02-18 16:13:46 -0300 |
commit | 90af7555c36fa02e686a6a0db8be626ca7bb438f (patch) | |
tree | 2d0a8a31c9d9fb667984cf4144e5156d55237101 /tools/perf/util/intel-pt-decoder/intel-pt-decoder.h | |
parent | b7ecc2d73e5b2231be505777e03b3df6f8a5f6c5 (diff) |
perf intel-pt: Retain the last PIP packet payload as is
Retain the PIP packet payload as is, instead of just the CR3, because it
contains also the VMX NR flag which is needed to track VM-Entry.
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-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt-decoder/intel-pt-decoder.h')
-rw-r--r-- | tools/perf/util/intel-pt-decoder/intel-pt-decoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-decoder.h b/tools/perf/util/intel-pt-decoder/intel-pt-decoder.h index ae13f3251536..b9564c93fca7 100644 --- a/tools/perf/util/intel-pt-decoder/intel-pt-decoder.h +++ b/tools/perf/util/intel-pt-decoder/intel-pt-decoder.h @@ -204,7 +204,7 @@ struct intel_pt_state { int err; uint64_t from_ip; uint64_t to_ip; - uint64_t cr3; + uint64_t pip_payload; uint64_t tot_insn_cnt; uint64_t tot_cyc_cnt; uint64_t timestamp; |