summaryrefslogtreecommitdiff
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-06-21 20:39:13 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-06-21 20:39:13 +0300
commitd0ba52f1d7649a3f088e410e860559cf36d479d0 (patch)
tree9810a5e4637153ae032bf46e55721d1d85fc2c20 /include/linux/ftrace.h
parent681bec0367c2606b6154060310a2ffa543175980 (diff)
downloadlinux-d0ba52f1d7649a3f088e410e860559cf36d479d0.tar.xz
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) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 473f088aabea..1b6992e994e6 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -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,