Skip to content

Commit

Permalink
ftrace: Add missing comment for FTRACE_OPS_FL_RCU
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rostedt committed Jun 21, 2017
1 parent 681bec0 commit d0ba52f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops);
* for any of the functions that this ops will be registered for, then
* this ops will fail to register or set_filter_ip.
* PID - Is affected by set_ftrace_pid (allows filtering on those pids)
* RCU - Set when the ops can only be called when RCU is watching.
*/
enum {
FTRACE_OPS_FL_ENABLED = 1 << 0,
Expand Down

0 comments on commit d0ba52f

Please sign in to comment.