Files
linux-kernel-module-cheat/qemu-trace2txt
2018-08-14 00:27:55 +01:00

15 lines
376 B
Bash
Executable File

#!/usr/bin/env bash
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
while getopts "${common_getopts_flags}" OPT; do
case "$OPT" in
?)
common_getopts_case "$OPT"
;;
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}"