mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
trace-boot: automate instruction count on arm
Clean old trace boot results with new automated results.
This commit is contained in:
3
common
3
common
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set_common_vars() {
|
||||
arch="$1"
|
||||
gem5="$2"
|
||||
gem5="${2:-false}"
|
||||
buildroot_dir="${root_dir}/buildroot"
|
||||
arch_dir="$arch"
|
||||
if "$gem5" && [ ! "$arch" = aarch64 ]; then
|
||||
@@ -14,6 +14,7 @@ set_common_vars() {
|
||||
gem5_out_dir="${out_arch_dir}/gem5"
|
||||
m5out_dir="${gem5_out_dir}/m5out"
|
||||
qemu_out_dir="${out_arch_dir}/qemu"
|
||||
qemu_trace_txt_file="${qemu_out_dir}/trace.txt"
|
||||
}
|
||||
root_dir="$(pwd)"
|
||||
out_dir="${root_dir}/out"
|
||||
|
||||
Reference in New Issue
Block a user