mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5-bench-cache: fix removal of existing checkpoints
This commit is contained in:
@@ -66,7 +66,7 @@ bench-all() (
|
|||||||
|
|
||||||
if "$generate_checkpoints"; then
|
if "$generate_checkpoints"; then
|
||||||
# Create the checkpoints after the kernel boot.
|
# Create the checkpoints after the kernel boot.
|
||||||
rm -rf "${m5out_dir}/cpt.*";
|
rm -rf "${m5out_dir}"/cpt.*;
|
||||||
printf 'm5 exit' >"${readfile_file}"
|
printf 'm5 exit' >"${readfile_file}"
|
||||||
cpt_cmd="-E 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'"
|
cpt_cmd="-E 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'"
|
||||||
# 1
|
# 1
|
||||||
|
|||||||
Reference in New Issue
Block a user