[for-next][PATCH 01/12] ftrace: Add missing comment for FTRACE_OPS_FL_RCU

2017-06-29 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" 

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) 
---
 include/linux/ftrace.h | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
2.10.2




[for-next][PATCH 01/12] ftrace: Add missing comment for FTRACE_OPS_FL_RCU

2017-06-29 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" 

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) 
---
 include/linux/ftrace.h | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
2.10.2