]> 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)
commit5d6dc014fc968c9bbbf6f0ebd0a62ad91b03db24
treedf97083515a557f438be65aca95c6f6116d1f1ce
parent7affb32d3af5fbbf2fc7142035ed0ab0288a6b6e
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]