xref: /aosp_15_r20/external/OpenCSD/decoder/tests/perf-test-scripts/perf-test-script.bash (revision 02ca8ccacfba7e0df68f3332a95f3180334d6649)
1*02ca8ccaSAndroid Build Coastguard Worker#!/bin/bash
2*02ca8ccaSAndroid Build Coastguard Worker#
3*02ca8ccaSAndroid Build Coastguard Worker# Script to run perf report
4*02ca8ccaSAndroid Build Coastguard Worker#
5*02ca8ccaSAndroid Build Coastguard Worker# Uses environment set up by perf-setup-env.bash.
6*02ca8ccaSAndroid Build Coastguard Worker# See HOWTO.md for further details.
7*02ca8ccaSAndroid Build Coastguard Worker#
8*02ca8ccaSAndroid Build Coastguard Worker# run from directory containing perf.data file.
9*02ca8ccaSAndroid Build Coastguard Worker#
10*02ca8ccaSAndroid Build Coastguard Worker
11*02ca8ccaSAndroid Build Coastguard Worker${PERF_EXEC_PATH}/perf --exec-path=${PERF_EXEC_PATH} script --script=python:${PERF_SCRIPT_PATH}/arm-cs-trace-disasm.py -- -d ${XTOOLS_PATH}/aarch64-linux-gnu-objdump $*
12