History

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

Wei Yang committed 6 years ago

Commit 40dc4a41 parent 7ba031e1 file · +2 −2Browse files

Unified · Split

include/linux/ftrace.h+2−2
@@ -217,11 +217,11 @@ extern struct ftrace_ops __rcu *ftrace_ops_list; · 216 unmodified lines
217extern struct ftrace_ops ftrace_list_end;217extern struct ftrace_ops ftrace_list_end;
218 218
219/*219/*
220 * Traverse the ftrace_global_list, invoking all entries. The reason that we220 * Traverse the ftrace_ops_list, invoking all entries. The reason that we
221 * can use rcu_dereference_raw_check() is that elements removed from this list221 * can use rcu_dereference_raw_check() is that elements removed from this list
222 * are simply leaked, so there is no need to interact with a grace-period222 * are simply leaked, so there is no need to interact with a grace-period
223 * mechanism. The rcu_dereference_raw_check() calls are needed to handle223 * 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.
225 *225 *
226 * Silly Alpha and silly pointer-speculation compiler optimizations!226 * Silly Alpha and silly pointer-speculation compiler optimizations!
227 */227 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t