tracing: Fix code comment for ftrace_ops_get_func()
authorChunyu Hu <[email protected]>
Wed, 22 Feb 2017 00:29:26 +0000 (08:29 +0800)
committerSteven Rostedt (VMware) <[email protected]>
Mon, 27 Feb 2017 16:11:26 +0000 (11:11 -0500)
There is no function 'ftrace_ops_recurs_func' existing in the current code,
it was renamed to ftrace_ops_assist_func() in commit c68c0fa29341
("ftrace: Have ftrace_ops_get_func() handle RCU and PER_CPU flags too").
Update the comment to the correct function name.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Chunyu Hu <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
kernel/trace/ftrace.c

index 0c060932639140dab517ff505230c2dedfd42855..fd84f2e30b6dcba34890664da6852d0818eee72c 100644 (file)
@@ -5487,7 +5487,7 @@ static void ftrace_ops_assist_func(unsigned long ip, unsigned long parent_ip,
  * Normally the mcount trampoline will call the ops->func, but there
  * are times that it should not. For example, if the ops does not
  * have its own recursion protection, then it should call the
- * ftrace_ops_recurs_func() instead.
+ * ftrace_ops_assist_func() instead.
  *
  * Returns the function that the trampoline should call for @ops.
  */