Skip to content

Commit

Permalink
perf tools: Add Intel PT decoder
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ahunter6 authored and acmel committed Aug 17, 2015
1 parent 53af928 commit f4aa081
Show file tree
Hide file tree
Showing 3 changed files with 1,921 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/util/intel-pt-decoder/Build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libperf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o intel-pt-insn-decoder.o intel-pt-log.o
libperf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o intel-pt-insn-decoder.o intel-pt-log.o intel-pt-decoder.o

inat_tables_script = util/intel-pt-decoder/gen-insn-attr-x86.awk
inat_tables_maps = util/intel-pt-decoder/x86-opcode-map.txt
Expand Down
Loading

0 comments on commit f4aa081

Please sign in to comment.