summaryrefslogtreecommitdiffstats
path: root/decoder/tests/perf-test-scripts/perf-test-script.bash
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:57 +0000
commit070852d8604cece0c31f28ff3eb8d21d9ba415fb (patch)
tree9097175a6a5b8b7e37af9a96269ac0b61a0189cd /decoder/tests/perf-test-scripts/perf-test-script.bash
parentInitial commit. (diff)
downloadlibopencsd-070852d8604cece0c31f28ff3eb8d21d9ba415fb.tar.xz
libopencsd-070852d8604cece0c31f28ff3eb8d21d9ba415fb.zip
Adding upstream version 1.3.3.upstream/1.3.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 $*