ftrace: Update all ftrace_ops for a ftrace_hash_ops update
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 18 Aug 2014 17:21:08 +0000 (13:21 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 22 Aug 2014 17:21:14 +0000 (13:21 -0400)
commit84261912ebee41269004e8a9f3614ba38ef6b206
tree26a01f98f3c14d299570012d5aa5655794d3a9e6
parent33b7f99cf003ca6c1d31c42b50e1100ad71aaec0
ftrace: Update all ftrace_ops for a ftrace_hash_ops update

When updating what an ftrace_ops traces, if it is registered (that is,
actively tracing), and that ftrace_ops uses the shared global_ops
local_hash, then we need to update all tracers that are active and
also share the global_ops' ftrace_hash_ops.

Cc: stable@vger.kernel.org # 3.16 (apply after 3.17-rc4 is out)
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c