]> 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)
commit3186fd7dbb62df44eb8bc1ee79e511180fa50aee
tree26a01f98f3c14d299570012d5aa5655794d3a9e6
parente515cb5f135ec80b887ad2c08d1e1a4d64e7501b
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