Skip to content

Commit

Permalink
perf tools: Add Intel PT packet decoder
Browse files Browse the repository at this point in the history
Add support for decoding Intel Processor Trace packets.

This essentially provides intel_pt_get_packet() which takes a buffer of
binary data and returns the decoded packet.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1437150840-31811-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Adrian Hunter authored and Arnaldo Carvalho de Melo committed Aug 17, 2015
1 parent 55ea4ab commit a4e9259
Show file tree
Hide file tree
Showing 4 changed files with 466 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/perf/util/Build
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ libperf-$(CONFIG_X86) += tsc.o
libperf-y += cloexec.o
libperf-y += thread-stack.o
libperf-$(CONFIG_AUXTRACE) += auxtrace.o
libperf-$(CONFIG_AUXTRACE) += intel-pt-decoder/
libperf-y += parse-branch-options.o

libperf-$(CONFIG_LIBELF) += symbol-elf.o
Expand Down
1 change: 1 addition & 0 deletions tools/perf/util/intel-pt-decoder/Build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libperf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o
Loading

0 comments on commit a4e9259

Please sign in to comment.