Re: [PATCH] tracing: Have trace_marker break up by lines by size of trace_seq

2023-12-12 Thread Steven Rostedt
On Wed, 13 Dec 2023 09:19:33 +0900 Masami Hiramatsu (Google) wrote: > On Tue, 12 Dec 2023 19:04:22 -0500 > Steven Rostedt wrote: > > > From: "Steven Rostedt (Google)" > > > > If a trace_marker write is bigger than what trace_seq can hold, then it > > will print "LINE TOO BIG" message and not

Re: [PATCH] tracing: Have trace_marker break up by lines by size of trace_seq

2023-12-12 Thread Google
On Tue, 12 Dec 2023 19:04:22 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > If a trace_marker write is bigger than what trace_seq can hold, then it > will print "LINE TOO BIG" message and not what was written. > > Instead, if check if the write is bigger than the trace_seq a

[PATCH] tracing: Have trace_marker break up by lines by size of trace_seq

2023-12-12 Thread Steven Rostedt
From: "Steven Rostedt (Google)" If a trace_marker write is bigger than what trace_seq can hold, then it will print "LINE TOO BIG" message and not what was written. Instead, if check if the write is bigger than the trace_seq and break it up by that size. Ideally, we could make the trace_seq dyna