Re: [PATCH] tracing: Use refcount for trace_event_file reference counter
From: Steven Rostedt
Date: Mon Jul 29 2024 - 19:02:52 EST
On Mon, 29 Jul 2024 23:49:24 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
> On Fri, 26 Jul 2024 14:42:08 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > From: Steven Rostedt <rostedt@xxxxxxxxxxx>
> >
> > Instead of using an atomic counter for the trace_event_file reference
> > counter, use the refcount interface. It has various checks to make sure
> > the reference counting is correct, and will warn if it detects an error
> > (like refcount_inc() on '0').
> >
> > Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
>
> Looks good to me.
>
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
Is that an ack or a review? ;-)
-- Steve