]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - kernel/trace/trace_events.c
tracing: add protection around modify trace event fields
authorSteven Rostedt <srostedt@redhat.com>
Mon, 2 Mar 2009 16:49:04 +0000 (11:49 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Mon, 2 Mar 2009 16:49:04 +0000 (11:49 -0500)
commit11a241a3302277db05561e01477528629d806c4e
treec48e1bf3c52a94dfa27d301a748ed7d181fc65f9
parentd20e3b03842bfeb9d21817ff19054c277cc3eac0
tracing: add protection around modify trace event fields

The trace event objects are currently not proctected against
reentrancy. This patch adds a mutex around the modifications of
the trace event fields.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace_events.c