aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/ftrace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index bf11e0553450..433a64f49532 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -6260,6 +6260,9 @@ __ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,
6260 preempt_disable_notrace(); 6260 preempt_disable_notrace();
6261 6261
6262 do_for_each_ftrace_op(op, ftrace_ops_list) { 6262 do_for_each_ftrace_op(op, ftrace_ops_list) {
6263 /* Stub functions don't need to be called nor tested */
6264 if (op->flags & FTRACE_OPS_FL_STUB)
6265 continue;
6263 /* 6266 /*
6264 * Check the following for each ops before calling their func: 6267 * Check the following for each ops before calling their func:
6265 * if RCU flag is set, then rcu_is_watching() must be true 6268 * if RCU flag is set, then rcu_is_watching() must be true