summaryrefslogtreecommitdiffstats
path: root/decoder/tests/perf-test-scripts/perf-test-script.bash
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/tests/perf-test-scripts/perf-test-script.bash')
-rwxr-xr-xdecoder/tests/perf-test-scripts/perf-test-script.bash11
1 files changed, 11 insertions, 0 deletions
diff --git a/decoder/tests/perf-test-scripts/perf-test-script.bash b/decoder/tests/perf-test-scripts/perf-test-script.bash
new file mode 100755
index 0000000..745e8b7
--- /dev/null
+++ b/decoder/tests/perf-test-scripts/perf-test-script.bash
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+# Script to run perf report
+#
+# Uses environment set up by perf-setup-env.bash.
+# See HOWTO.md for further details.
+#
+# run from directory containing perf.data file.
+#
+
+${PERF_EXEC_PATH}/perf --exec-path=${PERF_EXEC_PATH} script --script=python:${PERF_SCRIPT_PATH}/cs-trace-disasm.py -- -d ${XTOOLS_PATH}/aarch64-linux-gnu-objdump $*