diff options
author | Adrian Hunter | 2017-05-26 10:17:14 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2017-06-21 16:35:50 +0200 |
commit | a472e65fc490ab87e30b7fecb8981f02dbb2b865 (patch) | |
tree | 4cd0a729cead7fca49b1f7cd5d8c67b2839d4f3e /tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h | |
parent | perf intel-pt: Add documentation for new config terms (diff) | |
download | kernel-qcow2-linux-a472e65fc490ab87e30b7fecb8981f02dbb2b865.tar.gz kernel-qcow2-linux-a472e65fc490ab87e30b7fecb8981f02dbb2b865.tar.xz kernel-qcow2-linux-a472e65fc490ab87e30b7fecb8981f02dbb2b865.zip |
perf intel-pt: Add decoder support for ptwrite and power event packets
Add decoder support for PTWRITE, MWAIT, PWRE, PWRX and EXSTOP packets. This
patch only affects the decoder, so the tools still do not select or consume
the new information. That is added in subsequent patches.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-14-git-send-email-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-pkt-decoder.h')
-rw-r--r-- | tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h b/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h index 781bb79883bd..73ddc3a88d07 100644 --- a/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h +++ b/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h @@ -52,6 +52,13 @@ enum intel_pt_pkt_type { INTEL_PT_PIP, INTEL_PT_OVF, INTEL_PT_MNT, + INTEL_PT_PTWRITE, + INTEL_PT_PTWRITE_IP, + INTEL_PT_EXSTOP, + INTEL_PT_EXSTOP_IP, + INTEL_PT_MWAIT, + INTEL_PT_PWRE, + INTEL_PT_PWRX, }; struct intel_pt_pkt { |