tracing: Fix race with update_max_tr_single and changing tracers
commit2930e04d00e113ae24bb2b7c2b58de7b648a62c7
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 26 Mar 2013 21:33:00 +0000 (26 17:33 -0400)
committerSteven Rostedt <rostedt@rostedt.homelinux.com>
Mon, 8 Apr 2013 16:24:22 +0000 (8 12:24 -0400)
tree60dc173d8370ec69d48f04f074ca78fb152d0c1f
parentfd4a5aef002bb57e8a35ed34d8a878034b9bde94
tracing: Fix race with update_max_tr_single and changing tracers

The commit 34600f0e9 "tracing: Fix race with max_tr and changing tracers"
fixed the updating of the main buffers with the race of changing
tracers, but left out the fix to the updating of just a per cpu buffer.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c