]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa7b326939a3865ba5e2642cb367754a88aae9dd
tree26a01f98f3c14d299570012d5aa5655794d3a9e6
parent5bf5743c95892a5eab31b61b3469c6f0c704c821
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