[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250821115359.3988b807@gandalf.local.home>
Date: Thu, 21 Aug 2025 11:53:59 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Elijah Wright <git@...jahs.space>
Cc: Masami Hiramatsu <mhiramat@...nel.org>, Mathieu Desnoyers
<mathieu.desnoyers@...icios.com>, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Subject: Re: [PATCH] tracing: move buffer in trace_seq to end of struct
On Thu, 21 Aug 2025 11:43:55 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> diff --git a/include/linux/trace_seq.h b/include/linux/trace_seq.h
> index a93ed5ac3226..92364deb39a5 100644
> --- a/include/linux/trace_seq.h
> +++ b/include/linux/trace_seq.h
> @@ -24,14 +24,12 @@ struct trace_seq {
> char buffer[TRACE_SEQ_BUFFER_SIZE];
> struct seq_buf seq;
> size_t readpos;
> - int full;
> };
>
I should have tried compiling it before posting. But trace.c has this:
ret = print_trace_line(iter);
if (ret == TRACE_TYPE_PARTIAL_LINE) {
iter->seq.full = 0;
trace_seq_puts(&iter->seq, "[LINE TOO BIG]\n");
}
I need to figure out a clean way to fix that too :-p
-- Steve
Powered by blists - more mailing lists