mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
time all builds and run
This commit is contained in:
15
README.adoc
15
README.adoc
@@ -353,13 +353,24 @@ To get a terminal, either open a new shell and run:
|
||||
./gem5-shell
|
||||
....
|
||||
|
||||
or if you are inside tmux, which I highly recommend, just run gem5 with:
|
||||
The only way to exit the shell is to kill the gem5 on the previous shell
|
||||
|
||||
If you are inside tmux, which I highly recommend, just run gem5 with:
|
||||
|
||||
....
|
||||
./run --gem5 --tmux
|
||||
....
|
||||
|
||||
This will open up a split terminal by default so that you can see both the gem5 stdout and the terminal. See also: <<tmux-gem5>>
|
||||
This will open up a split terminal by default so that you can see both the gem5 stdout and the terminal. See also: <<tmux-gem5>>.
|
||||
|
||||
At the end of boot, it might not be very clear that you have the shell since some <<printk>> messages may appear in front of the prompt like this:
|
||||
|
||||
....
|
||||
# <6>[ 1.215329] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1cd486fa865, max_idle_ns: 440795259574 ns
|
||||
<6>[ 1.215351] clocksource: Switched to clocksource tsc
|
||||
....
|
||||
|
||||
but if you look closely, the `PS1` prompt marker `#` is there already, just hit enter and a clear prompt line will appear.
|
||||
|
||||
If you forgot to open the shell and gem5 exit, you can inspect the terminal output post-mortem at:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user