mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
17 lines
395 B
Bash
Executable File
17 lines
395 B
Bash
Executable File
#!/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)
|
|
arch="$OPTARG"
|
|
;;
|
|
esac
|
|
done
|
|
set_common_vars "$arch" false
|
|
./qemu/scripts/simpletrace.py \
|
|
"${build_dir}/host-qemu-custom/trace-events-all" \
|
|
"${common_qemu_run_dir}/trace.bin" \
|
|
> "${common_trace_txt_file}"
|