tracing/user_events: Hold event_mutex during dyn_event_add
Make sure the event_mutex is properly held during dyn_event_add call. This is required when adding dynamic events. Link: https://lkml.kernel.org/r/20220328223225.1992-1-beaub@linux.microsoft.comReported-by: NMathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: NBeau Belgrave <beaub@linux.microsoft.com> Acked-by: NMasami Hiramatsu <mhiramat@kernel.org> Signed-off-by: NSteven Rostedt (Google) <rostedt@goodmis.org>
Showing
想要评论请 注册 或 登录