mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 03:01:36 +01:00
OK, direct the annoying traces to the output folder
Otherwise it was getting messy to distinguish between trace-events and trace-<pid> in the .gitignore. Now only the latest trace will be kept, with a fixed name.
This commit is contained in:
@@ -10,7 +10,7 @@ while getopts a: OPT; do
|
||||
esac
|
||||
done
|
||||
set_common_vars "$arch" false
|
||||
time ./run -a "$arch" -e 'init=/poweroff.out' -- -trace exec_tb,file="${lkmc_out_dir}/trace.bin"
|
||||
time ./run -a "$arch" -e 'init=/poweroff.out' -T exec_tb
|
||||
time ./qemu/scripts/simpletrace.py "${out_dir}/build/host-qemu-custom/trace-events-all" "${lkmc_out_dir}/trace.bin" >"${lkmc_out_dir}/trace.txt"
|
||||
|
||||
# Instruction count.
|
||||
|
||||
Reference in New Issue
Block a user