summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChunyu Hu <chuhu@redhat.com>2017-02-22 08:29:26 +0800
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-02-27 11:11:26 -0500
commit3a150df945b7408c27cad2c01a1638e8b14ac562 (patch)
tree1542e540504051949ade8ea6c1e05ebbebf2af43
parent67d04bb2bcbd3e99f4c4daa58599c90a83ad314a (diff)
downloadlinux-stable-3a150df945b7408c27cad2c01a1638e8b14ac562.tar.gz
linux-stable-3a150df945b7408c27cad2c01a1638e8b14ac562.tar.bz2
linux-stable-3a150df945b7408c27cad2c01a1638e8b14ac562.zip
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 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/1487723366-14463-1-git-send-email-chuhu@redhat.com Signed-off-by: Chunyu Hu <chuhu@redhat.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--kernel/trace/ftrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 0c0609326391..fd84f2e30b6d 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -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.
*/