mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
fs_bigLITTLE: patch gem5 like a pro without checkout
This commit is contained in:
@@ -5516,7 +5516,7 @@ arch=aarch64
|
||||
# Generate a checkpoint after Linux boots.
|
||||
# The boot takes a while, be patient young Padawan.
|
||||
printf 'm5 exit' > data/readfile
|
||||
./run -a "$arch" -g -F 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'
|
||||
./run -a "$arch" -g -F '/5 checkpoint;m5 readfile > a.sh;sh a.sh'
|
||||
|
||||
# Restore the checkpoint, and run the benchmark with parameter 1.000.
|
||||
# We skip the boot completely, saving time!
|
||||
@@ -6522,7 +6522,6 @@ The `-X-b` option enables the alternative `configs/example/arm/fs_bigLITTLE.py`
|
||||
First apply:
|
||||
|
||||
....
|
||||
cd gem5/gem5
|
||||
echo '
|
||||
diff --git a/configs/example/arm/fs_bigLITTLE.py b/configs/example/arm/fs_bigLITTLE.py
|
||||
index 7d66c03a6..d71e714fe 100644
|
||||
@@ -6537,7 +6536,7 @@ index 7d66c03a6..d71e714fe 100644
|
||||
"rw",
|
||||
"init=%s" % options.kernel_init,
|
||||
"vmalloc=768MB",
|
||||
' | patch -p1
|
||||
' | patch -d gem5/gem5 -p1
|
||||
....
|
||||
|
||||
then:
|
||||
|
||||
Reference in New Issue
Block a user