summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/intel-pt-events-report
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2021-05-25 12:51:12 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-05-25 16:07:17 +0300
commita92bf335fd82eeee0e95705bfd25014ee0c8262e (patch)
tree6c2e7f6937bd83f511ac7a9a9d7e676340616e3c /tools/perf/scripts/python/bin/intel-pt-events-report
parent2ede92173faa14ed6a5272b3e7a6dd6daae3b161 (diff)
downloadlinux-a92bf335fd82eeee0e95705bfd25014ee0c8262e.tar.xz
perf scripts python: intel-pt-events.py: Add branches to script
As an example, add branch information to intel-pt-events.py script. This shows how a simple python script can be used to customize perf script output for Intel PT branch traces or power event traces. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/r/20210525095112.1399-11-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/intel-pt-events-report')
-rw-r--r--tools/perf/scripts/python/bin/intel-pt-events-report4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/scripts/python/bin/intel-pt-events-report b/tools/perf/scripts/python/bin/intel-pt-events-report
index 9a9c92fcd026..beeac3fde9db 100644
--- a/tools/perf/scripts/python/bin/intel-pt-events-report
+++ b/tools/perf/scripts/python/bin/intel-pt-events-report
@@ -1,3 +1,3 @@
#!/bin/bash
-# description: print Intel PT Power Events and PTWRITE
-perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/intel-pt-events.py \ No newline at end of file
+# description: print Intel PT Events including Power Events and PTWRITE
+perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/intel-pt-events.py