Richard W.M. Jones
d5a8f82887
Use 'const' for stack integers where possible.
...
May improve optimization possibilities in a few cases.
2016-07-26 10:43:45 +01:00
Pino Toscano
8e57268dd4
static const char *str -> static const char str[]
...
Make all the static constant strings as char arrays, so they can be
fully stored in read-only memory.
2016-07-22 13:16:02 +02:00
Richard W.M. Jones
d2abfc7b48
utils: Move ansi_* functions to header guestfs-internal-frontend.h.
...
This is just code motion.
2016-06-29 12:49:46 +01:00
Richard W.M. Jones
0c49869366
Revert "utils/boot-analysis: Make seabios optional in timeline."
...
The loss of SeaBIOS messages was actually caused by a bug in my code,
not a change in the boot process.
This reverts commit 6fa24e768a .
2016-05-25 13:42:21 +01:00
Richard W.M. Jones
6fa24e768a
utils/boot-analysis: Make seabios optional in timeline.
2016-05-24 22:05:42 +01:00
Richard W.M. Jones
613fe4c089
utils: boot-analysis: Make insmod message handling a bit more robust.
2016-05-17 15:35:20 +01:00
Richard W.M. Jones
1f4a0bd90d
utils: boot-analysis: Avoid overflow when comparing large doubles.
2016-05-14 19:30:12 +01:00
Richard W.M. Jones
bf80587367
utils: boot-analysis: Add magic & asserts to some structs.
...
I suspected data corruption (but didn't prove it). This commit just
adds some magic numbers to the structs so we will see data corruption
quickly if it happens again.
2016-05-14 18:46:36 +01:00
Richard W.M. Jones
b6f5a0cd90
utils: boot-analysis: Make handling of first kernel message more flexible.
...
Allows us to disable EDD completely, and still have boot-analysis work.
2016-05-13 13:30:39 +01:00
Richard W.M. Jones
754b8f5ef3
boot-analysis: Flush out debug data after printing it.
...
Just makes it easier to see bugs causing the analysis stage to
hang / infinite loop.
2016-05-10 12:17:28 +01:00
Richard W.M. Jones
e4edede364
boot-analysis: Make ftrace optional in the timeline.
...
This allows me to test minimal kernels with ftrace disabled at
compile time.
2016-05-10 12:16:36 +01:00
Richard W.M. Jones
320b0faeaf
utils: boot-analysis: Fix minor typo in string.
2016-05-09 12:19:16 +01:00
Richard W.M. Jones
bbec1b570b
utils: Add a README file describing briefly the purpose of this directory.
...
.. and where to find the real documentation.
Updates commit 3b581a727c .
2016-05-03 22:50:15 +01:00
Richard W.M. Jones
98b28b15c6
utils/boot-analysis, utils/boot-benchmark: Add manual pages.
2016-05-03 13:21:34 +01:00
Richard W.M. Jones
3b581a727c
utils: Move tests/qemu/ boot-analysis etc tools to new utils top level directory.
...
Create a new top level directory called 'utils' and move the
following programs there:
tests/qemu/boot-analysis -> utils/boot-analysis/
tests/qemu/boot-benchmark -> utils/boot-benchmark/
tests/qemu/qemu-boot -> utils/qemu-boot/
tests/qemu/qemu-speed-test -> utils/qemu-speed-test/
Also we only build the boot-analysis program on x86-64 and aarch64,
since it requires custom porting to each architecture.
2016-05-03 13:21:34 +01:00