summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/powerpc-hcalls-record
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/python/bin/powerpc-hcalls-record')
-rw-r--r--tools/perf/scripts/python/bin/powerpc-hcalls-record2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/powerpc-hcalls-record b/tools/perf/scripts/python/bin/powerpc-hcalls-record
new file mode 100644
index 0000000..b7402aa
--- /dev/null
+++ b/tools/perf/scripts/python/bin/powerpc-hcalls-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -e "{powerpc:hcall_entry,powerpc:hcall_exit}" $@
OpenPOWER on IntegriCloud