tracing/kprobe: Wait for disabling all running kprobe handlers
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tue, 9 Jul 2013 09:35:26 +0000 (18:35 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 19 Jul 2013 01:31:29 +0000 (21:31 -0400)
commita232e270dcb55a70ad3241bc6fc160fd9b5c9e6c
treef2eba68c4e863ab55584abfd91cce3389c6c9433
parentcd92bf61d6d70bd3eb33b46d600e3f3eb9c5778a
tracing/kprobe: Wait for disabling all running kprobe handlers

Wait for disabling all running kprobe handlers when a kprobe
event is disabled, since the caller, trace_remove_event_call()
supposes that a removing event is disabled completely by
disabling the event.
With this change, ftrace can ensure that there is no running
event handlers after disabling it.

Link: http://lkml.kernel.org/r/20130709093526.20138.93100.stgit@mhiramat-M0-7522
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_kprobe.c