tracing: Increase size of trace_marker_raw to max ring buffer entry
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 13 Dec 2023 15:42:18 +0000 (10:42 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 19 Dec 2023 04:14:16 +0000 (23:14 -0500)
commit76ca20c748684f63bb985166850049f242797f65
tree094a9c32494786ab7c103c7a468d0181dd47c9b5
parent9482341d9bdaf194552673b6c1c81a824e985e7f
tracing: Increase size of trace_marker_raw to max ring buffer entry

There's no reason to give an arbitrary limit to the size of a raw trace
marker. Just let it be as big as the size that is allowed by the ring
buffer itself.

And there's also no reason to artificially break up the write to
TRACE_BUF_SIZE, as that's not even used.

Link: https://lore.kernel.org/linux-trace-kernel/20231213104218.2efc70c1@gandalf.local.home
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c