Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tracing: Fix documentation on tp_printk cmdline option

kernel-parameters.txt incorrectly states that workings of
kernel.tracepoint_printk sysctl depends on "tracepoint_printk kernel
cmdline option", this is a bit misleading for new users since the actual
cmdline option name is tp_printk.

Fixes: 0daa2302968c ("tracing: Add tp_printk cmdline to have tracepoints go to printk()")
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240323231704.1217926-1-vt@altlinux.org

authored by

Vitaly Chikunov and committed by
Jonathan Corbet
b75d8521 0ec69b3b

+1 -1
+1 -1
Documentation/admin-guide/kernel-parameters.txt
··· 6599 6599 To turn off having tracepoints sent to printk, 6600 6600 echo 0 > /proc/sys/kernel/tracepoint_printk 6601 6601 Note, echoing 1 into this file without the 6602 - tracepoint_printk kernel cmdline option has no effect. 6602 + tp_printk kernel cmdline option has no effect. 6603 6603 6604 6604 The tp_printk_stop_on_boot (see below) can also be used 6605 6605 to stop the printing of events to console at