]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing: Add traceoff_after_boot option
authorSteven Rostedt <rostedt@goodmis.org>
Sat, 8 Feb 2025 15:30:17 +0000 (10:30 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 25 Feb 2025 18:46:40 +0000 (13:46 -0500)
commit937fbf111ac17c456cfcbf18412a1417ff3b69ed
treed6e806cab5ed2274a06351f75fd124b304d62c4a
parentd082ecbc71e9e0bf49883ee4afd435a77a5101b6
tracing: Add traceoff_after_boot option

Sometimes tracing is used to debug issues during the boot process. Since
the trace buffer has a limited amount of storage, it may be prudent to
disable tracing after the boot is finished, otherwise the critical
information may be overwritten.  With this option, the main tracing buffer
will be turned off at the end of the boot process.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Borislav Petkov <bp@alien8.de>
Link: https://lore.kernel.org/20250208103017.48a7ec83@batman.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/trace/trace.c