@@ -1136,15 +1136,15 @@ This method also allows us to keep run outputs in separate directories for later
1136
1136
produces two separate `m5out` directories:
1137
1137
1138
1138
....
1139
- less out/aarch64/gem5/default/ 0/m5out
1140
- less out/aarch64/gem5/default/ 1/m5out
1139
+ less out/aarch64/gem5/0/m5out
1140
+ less out/aarch64/gem5/1/m5out
1141
1141
....
1142
1142
1143
1143
and the gem5 host executable stdout and stderr can be found at:
1144
1144
1145
1145
....
1146
- less out/aarch64/gem5/default/ 0/termout.txt
1147
- less out/aarch64/gem5/default/ 1/termout.txt
1146
+ less out/aarch64/gem5/0/termout.txt
1147
+ less out/aarch64/gem5/1/termout.txt
1148
1148
....
1149
1149
1150
1150
Each line is prepended with the timestamp in seconds since the start of the program when it appeared.
@@ -7056,7 +7056,7 @@ But it also provides a tracing mechanism documented at: link:http://www.gem5.org
7056
7056
7057
7057
....
7058
7058
./run -a aarch64 -E 'm5 exit' -g -T Exec
7059
- less out/aarch64/gem5/default/ 0/m5out/trace.txt
7059
+ less out/aarch64/gem5/0/m5out/trace.txt
7060
7060
....
7061
7061
7062
7062
List all available debug flags:
@@ -7281,7 +7281,7 @@ Now you can play a fun little game with your friends:
7281
7281
To find out why your program is slow, a good first step is to have a look at the statistics for the run:
7282
7282
7283
7283
....
7284
- cat out/aarch64/gem5/default/ 0/m5out/stats.txt
7284
+ cat out/aarch64/gem5/0/m5out/stats.txt
7285
7285
....
7286
7286
7287
7287
Whenever we run `m5 dumpstats` or `m5 exit`, a section with the following format is added to that file:
@@ -8071,7 +8071,7 @@ m5 writefile myfileguest myfilehost
8071
8071
Host:
8072
8072
8073
8073
....
8074
- cat out/aarch64/gem5/default/ 0/m5out/myfilehost
8074
+ cat out/aarch64/gem5/0/m5out/myfilehost
8075
8075
....
8076
8076
8077
8077
Does not work for subdirectories, gem5 crashes:
@@ -8313,7 +8313,7 @@ then:
8313
8313
Checkpoints can be restored with:
8314
8314
8315
8315
....
8316
- ./run -aA -g -X-b -- --restore-from=out/aarch64/gem5/default/ 0/m5ou5/cpt.*
8316
+ ./run -aA -g -X-b -- --restore-from=out/aarch64/gem5/0/m5ou5/cpt.*
8317
8317
....
8318
8318
8319
8319
Advantages over `fs.py`:
@@ -8731,7 +8731,7 @@ cat ./out/arm/qemu/0/run.sh
8731
8731
or for gem5:
8732
8732
8733
8733
....
8734
- cat ./out/arm/gem5/default/ 0/run.sh
8734
+ cat ./out/arm/gem5/0/run.sh
8735
8735
....
8736
8736
8737
8737
Next, you will also want to give the relevant images to save them time. Zip the images with:
@@ -9147,9 +9147,9 @@ The action seems to be happening at: `hw/arm/virt.c`.
9147
9147
**** `out/<arch>/buildroot/build/linux-custom.<variant>`: what `linux-custom` points to
9148
9148
*** `out/<arch>/qemu`: QEMU runtime outputs
9149
9149
*** `out/<arch>/qemu/<run-id>/run.sh`: full CLI used to run QEMU. See: <<report-upstream-bugs>>
9150
- *** `out/<arch>/gem5/<gem5-variant>/< run-id>/`: gem5 runtime outputs
9151
- **** `out/<arch>/gem5/<gem5-variant>/< run-id>/m5out`
9152
- **** `out/<arch>/gem5/<gem5-variant>/< run-id>/run.sh`: full CLI used to run gem5. See: <<report-upstream-bugs>>
9150
+ *** `out/<arch>/gem5/<run-id>/`: gem5 runtime outputs
9151
+ **** `out/<arch>/gem5/<run-id>/m5out`
9152
+ **** `out/<arch>/gem5/<run-id>/run.sh`: full CLI used to run gem5. See: <<report-upstream-bugs>>
9153
9153
** `out/common`: cross arch outputs, for when we can gain a lot of time and space by sharing things that are common across different archs.
9154
9154
*** `out/common/dl/`: Buildroot caches downloaded source there due to `BR2_DL_DIR`
9155
9155
*** `out/common/gem5/`: `arm` and `aarch64` have the same build.
0 commit comments