]> Pileus Git - ~andy/linux/commit
ftrace: Fix locking in register_ftrace_function_probe()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 9 May 2013 22:20:37 +0000 (18:20 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 10 May 2013 00:15:30 +0000 (20:15 -0400)
commit5ae0bf5972b66d35e5674e1b7d855b1e111a68ae
tree6383ef4d7fd63d6da285f3908c6f3c14028715a0
parentda511bf33e47ea1f33f4b672f7da166d2a1b8a91
ftrace: Fix locking in register_ftrace_function_probe()

The iteration of the ftrace function list and the call to
ftrace_match_record() need to be protected by the ftrace_lock.

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