aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/intel-pt.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-07-17 19:33:54 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-08-24 17:46:43 -0300
commit11fa7cb86b56d3610043ba2ac6cbd81feab4b7c4 (patch)
tree873474f97b28cd777ec81971614ef6c3c5b0e5f7 /tools/perf/util/intel-pt.h
parentperf tools: Add new Intel PT packet definitions (diff)
downloadlinux-dev-11fa7cb86b56d3610043ba2ac6cbd81feab4b7c4.tar.xz
linux-dev-11fa7cb86b56d3610043ba2ac6cbd81feab4b7c4.zip
perf tools: Pass Intel PT information for decoding MTC and CYC
Record additional information in the AUXTRACE_INFO event in preparation for decoding MTC and CYC packets. Pass the information to the decoder. The AUXTRACE_INFO record can be extended by using the size to indicate the presence of new members. The additional information includes PMU config bit positions and the TSC to CTC (hardware crystal clock) ratio needed to decode MTC packets. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1437150840-31811-20-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.h')
-rw-r--r--tools/perf/util/intel-pt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/intel-pt.h b/tools/perf/util/intel-pt.h
index a1bfe93473ba..0065949df693 100644
--- a/tools/perf/util/intel-pt.h
+++ b/tools/perf/util/intel-pt.h
@@ -29,6 +29,11 @@ enum {
INTEL_PT_HAVE_SCHED_SWITCH,
INTEL_PT_SNAPSHOT_MODE,
INTEL_PT_PER_CPU_MMAPS,
+ INTEL_PT_MTC_BIT,
+ INTEL_PT_MTC_FREQ_BITS,
+ INTEL_PT_TSC_CTC_N,
+ INTEL_PT_TSC_CTC_D,
+ INTEL_PT_CYC_BIT,
INTEL_PT_AUXTRACE_PRIV_MAX,
};