Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592020

[for-next][PATCH 1/7] tracing: Fix code comment for ftrace_ops_get_func()

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject [for-next][PATCH 1/7] tracing: Fix code comment for ftrace_ops_get_func()
Date 2017-03-03 15:50 +0100
Message-ID <tgWGS-2zu-27@gated-at.bofh.it> (permalink)
References <tgWGR-2zu-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Chunyu Hu <chuhu@redhat.com>

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>
---
 kernel/trace/ftrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
  */
-- 
2.10.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[for-next][PATCH 0/7] tracing: Fixes for 4.11 Steven Rostedt <rostedt@goodmis.org> - 2017-03-03 15:50 +0100
  [for-next][PATCH 5/7] jump_label: Add comment about initialization order for anonymous  unions Steven Rostedt <rostedt@goodmis.org> - 2017-03-03 15:50 +0100
  [for-next][PATCH 2/7] ftrace/graph: Do not modify the EMPTY_HASH for the function_graph  filter Steven Rostedt <rostedt@goodmis.org> - 2017-03-03 15:50 +0100
  [for-next][PATCH 7/7] ftrace/graph: Add ftrace_graph_max_depth kernel parameter Steven Rostedt <rostedt@goodmis.org> - 2017-03-03 15:50 +0100
  [for-next][PATCH 1/7] tracing: Fix code comment for ftrace_ops_get_func() Steven Rostedt <rostedt@goodmis.org> - 2017-03-03 15:50 +0100
  [for-next][PATCH 3/7] module: set __jump_table alignment to 8 Steven Rostedt <rostedt@goodmis.org> - 2017-03-03 15:50 +0100

csiph-web