Re: Re: [PATCH v2 2/3] tracing: initialize trace_seq buffers

2024-01-25 Thread Ricardo B. Marliere
Hi Steve, On 25 Jan 15:44, Steven Rostedt wrote: > On Thu, 25 Jan 2024 17:16:21 -0300 > "Ricardo B. Marliere" wrote: > > > Now that trace_seq_reset have been created, correct the places where the > > buffers need to be initialized. > > This patch would need to come first. You don't ever want to

Re: [PATCH v2 2/3] tracing: initialize trace_seq buffers

2024-01-25 Thread Steven Rostedt
On Thu, 25 Jan 2024 17:16:21 -0300 "Ricardo B. Marliere" wrote: > Now that trace_seq_reset have been created, correct the places where the > buffers need to be initialized. This patch would need to come first. You don't ever want to intentionally create a broken kernel. Also, the change log sho

[PATCH v2 2/3] tracing: initialize trace_seq buffers

2024-01-25 Thread Ricardo B. Marliere
Now that trace_seq_reset have been created, correct the places where the buffers need to be initialized. Suggested-by: Steven Rostedt Signed-off-by: Ricardo B. Marliere --- kernel/trace/trace.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/kernel/trace/trace.c b/kernel/tra