Skip to contentSkip to conversation

tracing: Fix documentation on tp_printk cmdline option

PATCH Applied Vitaly Chikunov 3 participants 3 messages Mar 23, 2024 – Mar 29, 2024 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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()")
---
 Documentation/admin-guide/kernel-parameters.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/kernel-parameters.txt +1 -1
index bb884c14b2f6..623fce7d5fcd 100644
@@ -6599,7 +6599,7 @@
 			To turn off having tracepoints sent to printk,
 			 echo 0 > /proc/sys/kernel/tracepoint_printk
 			Note, echoing 1 into this file without the
-			tracepoint_printk kernel cmdline option has no effect.
+			tp_printk kernel cmdline option has no effect.
 
 			The tp_printk_stop_on_boot (see below) can also be used
 			to stop the printing of events to console at
Signature · 1 line
2.42.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Vitaly Chikunov

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()")

Thanks.

Quoted 17 lines
---
 Documentation/admin-guide/kernel-parameters.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/kernel-parameters.txt +1 -1
index bb884c14b2f6..623fce7d5fcd 100644
@@ -6599,7 +6599,7 @@
 			To turn off having tracepoints sent to printk,
 			 echo 0 > /proc/sys/kernel/tracepoint_printk
 			Note, echoing 1 into this file without the
-			tracepoint_printk kernel cmdline option has no effect.
+			tp_printk kernel cmdline option has no effect.
 
 			The tp_printk_stop_on_boot (see below) can also be used
 			to stop the printing of events to console at
Signature · 1 line
#Randy
maintainer Applied
#2 lore raw
In reply to Vitaly Chikunov
Quoted 10 lines · Vitaly Chikunov

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()")
---
 Documentation/admin-guide/kernel-parameters.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

jon