On Thu, 17 Jul 2025 10:50:07 -0400
Steven Rostedt <rost...@goodmis.org> wrote:

> >       __register_event(inline)
> >                 |...
> >                 |+++down_write(&trace_event_sem);
> >                 |
> >                 |---list_add(&call->list, &ftrace_events);
> >                 |
> >                 |+++down_up(&trace_event_sem);
> >               |...

Yeah, I think this may need to be the patch, as __register_event() also
calls event_init() that eventually takes the semaphore :-p

I think there may need to be other places that need that protection, so
I'll go and see if I can find and add them all.

-- Steve

Reply via email to