mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
GEM5 checkpoint switch to HPI for benchmarking.
Don't pass -e on checkpoint restore. Add benchmarks to how much GEM5 is slower than QEMU. Rename Kernel boot command line arguments to match kernel docs name. Document how to pass extra options to GEM5. Start listing interesting benchmarks to run on GEM5. Add an openmp hello world.
This commit is contained in:
7
run
7
run
@@ -69,6 +69,7 @@ ${gem5opts} \
|
||||
--disk-image='${outdir}/images/rootfs.ext2' \
|
||||
--kernel='${outdir}/build/linux-custom/vmlinux' \
|
||||
--root-device=/dev/sda \
|
||||
$extra_flags \
|
||||
"
|
||||
elif [ "$arch" = arm ] || [ "$arch" = aarch64 ]; then
|
||||
cmd="\
|
||||
@@ -82,9 +83,9 @@ ${gem5opts} \
|
||||
--dtb-file='${gem5_dir}/system/arm/dt/$([ "$arch" = arm ] && echo armv7_gem5_v1_1cpu || echo armv8_gem5_v1_1cpu).dtb' \
|
||||
--kernel='${outdir}/build/linux-custom/vmlinux' \
|
||||
--machine-type=VExpress_GEM5_V1 \
|
||||
$extra_flags \
|
||||
"
|
||||
fi
|
||||
cmd="$cmd \"\$@\""
|
||||
else
|
||||
buildroot_out_dir="./buildroot/output.${arch}~"
|
||||
images_dir="$buildroot_out_dir/images"
|
||||
@@ -169,7 +170,5 @@ $extra_flags \
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
echo "$cmd"
|
||||
echo "$cmd" | tee run.log
|
||||
eval "$cmd"
|
||||
|
||||
Reference in New Issue
Block a user