On Sun, 04 May 2025 20:27:53 +0200 Paul Cacheux via B4 Relay <devnull+paulcacheux.gmail....@kernel.org> wrote:
> From: Paul Cacheux <paulcach...@gmail.com> > > The shared trace_probe_log variable can be accessed and modified > by multiple processes using tracefs at the same time, this new > mutex will guarantee it's always in a coherent state. > > There is no guarantee that multiple errors happening at the same > time will each have the correct error message, but at least this > won't crash. > > Fixes: ab105a4fb894 ("tracing: Use tracing error_log with probe events") > Signed-off-by: Paul Cacheux <paulcach...@gmail.com> > --- > kernel/trace/trace_probe.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) Acked-by: Steven Rostedt (Google) <rost...@goodmis.org> -- Steve