]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Pass Intel PT information for decoding MTC and CYC
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 17 Jul 2015 16:33:54 +0000 (19:33 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Aug 2015 20:46:43 +0000 (17:46 -0300)
commit3ea2f9522652918a7d8eae4ea28701713f34accd
tree873474f97b28cd777ec81971614ef6c3c5b0e5f7
parent2a5e23c650011b17c14f19f4512801a5d9632195
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>
tools/perf/arch/x86/util/intel-pt.c
tools/perf/util/intel-pt-decoder/intel-pt-decoder.h
tools/perf/util/intel-pt.c
tools/perf/util/intel-pt.h