Lines Matching +full:4 +full:- +full:way
1 .. SPDX-License-Identifier: GPL-2.0
8 standard tool we have for printing messages and usually the most basic way of
12 - printk() messages can specify a log level.
14 - the format string, while largely compatible with C99, doesn't follow the
17 printk format specifiers right <printk-specifiers>`.
20 buffer exported to userspace through /dev/kmsg. The usual way to read it is
30 +----------------+--------+-----------------------------------------------+
34 +----------------+--------+-----------------------------------------------+
36 +----------------+--------+-----------------------------------------------+
38 +----------------+--------+-----------------------------------------------+
40 +----------------+--------+-----------------------------------------------+
41 | KERN_WARNING | "4" | pr_warn() |
42 +----------------+--------+-----------------------------------------------+
44 +----------------+--------+-----------------------------------------------+
46 +----------------+--------+-----------------------------------------------+
48 +----------------+--------+-----------------------------------------------+
50 +----------------+--------+-----------------------------------------------+
52 +----------------+--------+-----------------------------------------------+
67 4 4 1 7
69 The result shows the *current*, *default*, *minimum* and *boot-time-default* log
77 Another way, using ``dmesg``::
79 # dmesg -n 5
81 sets the console_loglevel to print KERN_WARNING (4) or more severe messages to
102 For debugging purposes there are also two conditionally-compiled macros:
103 pr_debug() and pr_devel(), which are compiled-out unless ``DEBUG`` (or
110 .. kernel-doc:: include/linux/printk.h