perf tools: Add Intel PT decoder
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 17 Jul 2015 16:33:40 +0000 (19:33 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Aug 2015 14:11:36 +0000 (11:11 -0300)
commitf4aa081949e7b6b01e711229c5a47ee3482a169c
treedf97083515a557f438be65aca95c6f6116d1f1ce
parent53af92849d793662e943d61bb16f7d3eb2d7a072
perf tools: Add Intel PT decoder

Add support for decoding an Intel Processor Trace.

Intel PT trace data must be 'decoded' which involves walking the object
code and matching the trace data packets.

The decoder requests a buffer of binary data via a get_trace()
call-back, which it decodes using instruction information which it gets
via another call-back walk_insn().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1437150840-31811-6-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt-decoder/Build
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c [new file with mode: 0644]
tools/perf/util/intel-pt-decoder/intel-pt-decoder.h [new file with mode: 0644]