Skip to content

Commit 40dc4a4

Browse files
weiyang-linuxrostedt
authored andcommitted
ftrace: ftrace_global_list is renamed to ftrace_ops_list
Fix the comment to comply with the code. Link: https://lkml.kernel.org/r/20200831031104.23322-7-richard.weiyang@linux.alibaba.com Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent 7ba031e commit 40dc4a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/linux/ftrace.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ extern struct ftrace_ops __rcu *ftrace_ops_list;
217217
extern struct ftrace_ops ftrace_list_end;
218218

219219
/*
220-
* Traverse the ftrace_global_list, invoking all entries. The reason that we
220+
* Traverse the ftrace_ops_list, invoking all entries. The reason that we
221221
* can use rcu_dereference_raw_check() is that elements removed from this list
222222
* are simply leaked, so there is no need to interact with a grace-period
223223
* mechanism. The rcu_dereference_raw_check() calls are needed to handle
224-
* concurrent insertions into the ftrace_global_list.
224+
* concurrent insertions into the ftrace_ops_list.
225225
*
226226
* Silly Alpha and silly pointer-speculation compiler optimizations!
227227
*/

0 commit comments

Comments
 (0)