mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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 <[email protected]> Cc: Andi Kleen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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 |