Re: [PATCH] trace/ring_buffer: remove unused arguments

From: Steven Rostedt
Date: Thu Oct 20 2022 - 11:43:51 EST


On Thu, 20 Oct 2022 23:25:56 +0800
chensong <chensong_2000@xxxxxx> wrote:

> > I guess this doesn't hurt.
>
> I was reading __kprobe_trace_func, store_trace_args stores args in
> fbuffer.entry,which is event->array, but at the end, rb_commit uses
> fbuffer.buffer instead of event.
>
> Then i thought, if it's useless, why not just clean it up.


I meant your change probably doesn't hurt.

-- Steve