perf intel-pt: Add example script for power events and PTWRITE
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:35 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Jun 2017 14:50:53 +0000 (11:50 -0300)
commitcc892720d85a31cc04f4c01c03d88a0eb3c437fa
tree8563fcf24e6590d75f610aa9422b16dbfb54f597
parent3797307576191d7fb4c974cd461188162ac36f33
perf intel-pt: Add example script for power events and PTWRITE

Add script intel-pt-events.py that provides an example of how to unpack the
raw data for power events and PTWRITE.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-35-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/bin/intel-pt-events-record [new file with mode: 0644]
tools/perf/scripts/python/bin/intel-pt-events-report [new file with mode: 0644]
tools/perf/scripts/python/intel-pt-events.py [new file with mode: 0644]