bootparam.7: Update discussion of 'debug' option

See https://bugzilla.kernel.org/show_bug.cgi?id=97161

Reported-by: Alain Kalker <a.c.kalker@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-04-24 13:27:23 +02:00
parent 0b32bd2cf2
commit 016d2ca03c
1 changed files with 20 additions and 11 deletions

View File

@ -259,21 +259,30 @@ of CPUs activated in SMP mode to N.
.SS Boot arguments for use by kernel developers
.TP
.B "'debug'"
Kernel messages are handed off to the kernel log daemon klogd so that they
may be logged to disk.
Kernel messages are handed off to a daemon (e.g.,
.BR klogd (8)
or similar) so that they may be logged to disk.
Messages with a priority above
.I console_loglevel
are also printed on the console.
(For these levels, see
.IR <linux/kernel.h> .)
By default, this variable is set to log anything more important than
debug messages.
(For a discussion of these levels, see
.BR syslog (2).)
By default,
.I console_loglevel
is set to log messages at levels higher than
.BR KERN_DEBUG .
This boot argument will cause the kernel to also
print the messages of DEBUG priority.
The console loglevel can also be set at run time via an option
to klogd.
See
.BR klogd (8).
print messages logged at level
.BR KERN_DEBUG .
The console loglevel can also be set on a booted system via the
.IR /proc/sys/kernel/printk
file (described in
.BR syslog (2)),
the
.BR syslog (2)
.B SYSLOG_ACTION_CONSOLE_LEVEL
operation, or
.BR dmesg (8).
.TP
.B "'profile=N'"
It is possible to enable a kernel profiling function,