Skip to content

Commit b75d852

Browse files
vt-altJonathan Corbet
authored andcommitted
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: 0daa230 ("tracing: Add tp_printk cmdline to have tracepoints go to printk()") Signed-off-by: Vitaly Chikunov <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0ec69b3 commit b75d852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6599,7 +6599,7 @@
65996599
To turn off having tracepoints sent to printk,
66006600
echo 0 > /proc/sys/kernel/tracepoint_printk
66016601
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.
66036603

66046604
The tp_printk_stop_on_boot (see below) can also be used
66056605
to stop the printing of events to console at

0 commit comments

Comments
 (0)