]> git.ipfire.org Git - thirdparty/linux.git/commit
tracing: Check the return value of tracing_update_buffers()
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 7 Jan 2026 21:15:10 +0000 (16:15 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 26 Jan 2026 22:44:40 +0000 (17:44 -0500)
commite4ef389e761bc37904f5cf64b99af5c6c603f2ba
treebf6287604633381bfeac46865e9a2d85ddd19d02
parent6a80838814eea232a83fab3ac33282cd1243da5b
tracing: Check the return value of tracing_update_buffers()

In the very unlikely event that tracing_update_buffers() fails in
trace_printk_init_buffers(), report the failure so that it is known.

Link: https://lore.kernel.org/all/20220917020353.3836285-1-floridsleeves@gmail.com/
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20260107161510.4dc98b15@gandalf.local.home
Suggested-by: Li Zhong <floridsleeves@gmail.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c