[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240125201621.143968-1-ricardo@marliere.net>
Date: Thu, 25 Jan 2024 17:16:18 -0300
From: "Ricardo B. Marliere" <ricardo@...liere.net>
To: Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: "Ricardo B. Marliere" <ricardo@...liere.net>,
linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Subject: [PATCH v2 0/3] add trace_seq_reset function
This series is a prerequisite for a later effort of making trace_seq more
flexible about its buffer size. To achieve that, initializing and resetting
the buffers need to be differentiated.
Ricardo B. Marliere (3):
tracing: add trace_seq_reset function
tracing: initialize trace_seq buffers
tracing: convert __trace_seq_init to use WARN_ON_ONCE
include/linux/trace_seq.h | 11 +++++++++++
include/trace/trace_events.h | 2 +-
kernel/trace/trace.c | 24 +++++++++++++++++++-----
kernel/trace/trace_output.c | 2 +-
kernel/trace/trace_seq.c | 4 ++--
5 files changed, 34 insertions(+), 9 deletions(-)
--
2.43.0
Powered by blists - more mailing lists