mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
9 lines
170 B
Bash
Executable File
9 lines
170 B
Bash
Executable File
#!/bin/sh
|
|
# https://cirosantilli.com/linux-kernel-module-cheat#gem5-restore-new-script
|
|
m5 checkpoint
|
|
tmp="$(mktemp)"
|
|
m5 readfile > "$tmp"
|
|
m5 resetstats
|
|
sh "$tmp"
|
|
m5 exit
|