tracing: Add trace_array_puts() to write into instance
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 7 Feb 2023 17:28:52 +0000 (12:28 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 7 Feb 2023 17:49:56 +0000 (12:49 -0500)
commitd503b8f7474fe7ac616518f7fc49773cbab49f36
treee47ebb98991990056792727bac6fd348426058aa
parentc4846480831ea526bcab0ca0bf6364bfa6ed4227
tracing: Add trace_array_puts() to write into instance

Add a generic trace_array_puts() that can be used to "trace_puts()" into
an allocated trace_array instance. This is just another variant of
trace_array_printk().

Link: https://lkml.kernel.org/r/20230207173026.584717290@goodmis.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Ross Zwisler <zwisler@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/linux/trace.h
kernel/trace/trace.c