Skip to content

Commit d0ba52f

Browse files
committed
ftrace: Add missing comment for FTRACE_OPS_FL_RCU
All the enum flags for FTRACE_OPS has a comment except for the RCU one. Add the comment for that. Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 681bec0 commit d0ba52f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/ftrace.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops);
119119
* for any of the functions that this ops will be registered for, then
120120
* this ops will fail to register or set_filter_ip.
121121
* PID - Is affected by set_ftrace_pid (allows filtering on those pids)
122+
* RCU - Set when the ops can only be called when RCU is watching.
122123
*/
123124
enum {
124125
FTRACE_OPS_FL_ENABLED = 1 << 0,

0 commit comments

Comments
 (0)