#!/usr/bin/env bash set -eu . "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common" set -- ${cli_qemu_trace2txt:-} "$@" 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}"