]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ftrace: Add missing comment for FTRACE_OPS_FL_RCU
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 21 Jun 2017 17:39:13 +0000 (13:39 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 21 Jun 2017 17:39:13 +0000 (13:39 -0400)
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) <rostedt@goodmis.org>
include/linux/ftrace.h

index 473f088aabeac7b3899c155c778628e389e4d3fe..1b6992e994e6a0242ee92016c17622be65f1fb58 100644 (file)
@@ -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,