ftrace: Update filter when tracing enabled in set_ftrace_filter()
authorSteven Rostedt <srostedt@redhat.com>
Wed, 13 Jul 2011 19:08:31 +0000 (15:08 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Jul 2011 02:10:05 +0000 (22:10 -0400)
commit072126f4529196f71a97960248bca54fd4554c2d
treecb1275288f49b59e4643abb85855ad6889aba94f
parent41fb61c2d08107ce96a5dcb3a6289b2afd3e135c
ftrace: Update filter when tracing enabled in set_ftrace_filter()

Currently, if set_ftrace_filter() is called when the ftrace_ops is
active, the function filters will not be updated. They will only be updated
when tracing is disabled and re-enabled.

Update the functions immediately during set_ftrace_filter().

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