]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8511b3d29c2c1203dfdc1387a47d7e74b763e1a3
treedf97083515a557f438be65aca95c6f6116d1f1ce
parent4b628b7b1e82ee501f03323c9a8dbd7b3b4ed3ea
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]