File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
ch8/slab4_actualsz_wstg_plot Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,11 @@ hash gnuplot || {
82
82
exit 1
83
83
}
84
84
pgrep Xorg > /dev/null || {
85
- echo " ${name} : WARNING: are you sure you're running in a GUI? (no Xorg detected)"
85
+ pgrep Xwayland > /dev/null || {
86
+ echo " ${name} : WARNING: are you sure you're running in a GUI? (no Xorg or Xwayland process detected)"
86
87
GUI_ENV=0
88
+ }
87
89
}
88
-
89
90
prep_datafile
90
91
plotit
91
-
92
92
exit 0
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ in single-user mode (and then change the root password).
20
20
21
21
4. (A bit advanced, for when you're feeling adventurous!) Refer ahead
22
22
to Chapter 5, Writing Your First Kernel Module – LKMs Part 2, in
23
- the Configuring a debug kernel section. It details the kernel config options to
24
- be minimally set up for a very useful thing indeed – a debug kernel!
23
+ the ' Configuring a debug kernel' section. It details the kernel config options
24
+ to be minimally set up for a very useful thing indeed – a debug kernel!
25
25
26
26
Running your code on a debug kernel can help you uncover hard-to-spot
27
- bugs and issues. Your job here is to configure another kernel with these
28
- debug options, then build and run it.
27
+ bugs and issues. Your job here is to configure another 'debug kernel' with
28
+ these debug config options, then build and boot from it.
29
29
Original file line number Diff line number Diff line change @@ -38,5 +38,7 @@ tree ${TMPD}
38
38
then change the root password).
39
39
A.
40
40
--- Left as an exercise to the reader ---
41
+ (Tip: described in some detail in Ch 3 / Experimenting with the GRUB prompt).
41
42
42
- (Described in some detail in Ch 3 / Doing a bit more on the GRUB prompt).
43
+ 4. <Qs 4 is also ...>
44
+ --- Left as an exercise to the reader ---
You can’t perform that action at this time.
0 commit comments