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>
3 lines
136 B
Bash
3 lines
136 B
Bash
#!/bin/bash
|
|
# description: print Intel PT Power Events and PTWRITE
|
|
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/intel-pt-events.py |