OSDN Git Service

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

Add a facility to log Intel Processor Trace decoding.  The log is
intended for debugging purposes only.

The log file name is "intel_pt.log" and is opened in the current
directory.  The log contains a record of all packets and instructions
decoded and can get very large (10 MB would be a small one).

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1437150840-31811-5-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-log.c [new file with mode: 0644]
tools/perf/util/intel-pt-decoder/intel-pt-log.h [new file with mode: 0644]