Files
linux-kernel-module-cheat/qemu-trace2txt
2018-08-09 07:12:20 +01:00

15 lines
348 B
Bash
Executable File

#!/usr/bin/env bash
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
while getopts a: OPT; do
case "$OPT" in
a)
common_arch="$OPTARG"
;;
esac
done
common_setup
./qemu/scripts/simpletrace.py \
"${common_build_dir}/host-qemu-custom/trace-events-all" \
"${common_qemu_run_dir}/trace.bin" \
> "${common_trace_txt_file}"