Lines Matching full:printk

4 Printk Index
24 This is where the printk index feature might become useful. It provides
25 a dump of printk formats used all over the source code used for the kernel
28 The printk index helps to find changes in the message formats. Also it helps
35 The index of printk formats are split in into separate files. The files are
36 named according to the binaries where the printk formats are built-in. There
39 /sys/kernel/debug/printk/index/vmlinux
40 /sys/kernel/debug/printk/index/ext4
41 /sys/kernel/debug/printk/index/scsi_mod
43 Note that only loaded modules are shown. Also printk formats from a module
48 $> head -1 /sys/kernel/debug/printk/index/vmlinux; shuf -n 5 vmlinux
62 printk() call. Note that there are many wrappers, for example,
64 - :function: function name where the printk() call is used.
74 printk() Is Not a Stable KABI
78 details into the user space will transform particular printk() calls
81 But it is exactly the opposite. printk() calls must _not_ be KABI.
82 And the printk index helps user space tools to deal with this.
85 Subsystem specific printk wrappers
88 The printk index is generated using extra metadata that are stored in
90 wrappers doing __printk_index_emit() together with the real printk()
96 used printk() calls, including, for example, pr_warn(), or pr_once().
99 that call the original printk() via a common helper function. These needs
103 for example, dev_printk(). As a result, the printk formats from
104 some subsystes can be missing in the printk index.
111 before the string generated by the related printk() calls.
116 These prefixes can be stored into the printk index metadata
118 interface might then show the printk formats including these prefixes.
131 This results in the following printk index entry::
135 It helps matching messages from the real log with printk index.