Commit 3a150df9 authored by Chunyu Hu's avatar Chunyu Hu Committed by Steven Rostedt (VMware)

tracing: Fix code comment for ftrace_ops_get_func()

There is no function 'ftrace_ops_recurs_func' existing in the current code,
it was renamed to ftrace_ops_assist_func() in commit c68c0fa2
("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/1487723366-14463-1-git-send-email-chuhu@redhat.comSigned-off-by: default avatarChunyu Hu <chuhu@redhat.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 67d04bb2
...@@ -5487,7 +5487,7 @@ static void ftrace_ops_assist_func(unsigned long ip, unsigned long parent_ip, ...@@ -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 * Normally the mcount trampoline will call the ops->func, but there
* are times that it should not. For example, if the ops does not * are times that it should not. For example, if the ops does not
* have its own recursion protection, then it should call the * 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. * Returns the function that the trampoline should call for @ops.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment