diff options
author | Wei Yang <richard.weiyang@linux.alibaba.com> | 2020-08-31 11:11:04 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-10-08 15:29:06 -0400 |
commit | 40dc4a42b97ef5a52ef34a73093a7992faaab15e (patch) | |
tree | 0fbbef95bebbffaf7bd957e087e61c006fb965cf /include/linux/ftrace.h | |
parent | 7ba031e8b74c6aa156a0d9867dc13cf817d52047 (diff) | |
download | linux-stable-40dc4a42b97ef5a52ef34a73093a7992faaab15e.tar.gz linux-stable-40dc4a42b97ef5a52ef34a73093a7992faaab15e.tar.bz2 linux-stable-40dc4a42b97ef5a52ef34a73093a7992faaab15e.zip |
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>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index b1f56e3410dc..1bd3a0356ae4 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -217,11 +217,11 @@ extern struct ftrace_ops __rcu *ftrace_ops_list; extern struct ftrace_ops ftrace_list_end; /* - * Traverse the ftrace_global_list, invoking all entries. The reason that we + * Traverse the ftrace_ops_list, invoking all entries. The reason that we * can use rcu_dereference_raw_check() is that elements removed from this list * are simply leaked, so there is no need to interact with a grace-period * mechanism. The rcu_dereference_raw_check() calls are needed to handle - * concurrent insertions into the ftrace_global_list. + * concurrent insertions into the ftrace_ops_list. * * Silly Alpha and silly pointer-speculation compiler optimizations! */ |