aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2013-02-09 20:42:16 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-03-26 11:04:45 -0400
commit21e7a6087480451804124cee27c0a7d0a7de1564 (patch)
tree036c63643c4e6df1c5eb3897f361ef26eb099ea3 /kernel/rcutree_plugin.h
parentdae6e64d2bcfd4b06304ab864c7e3a4f6b5fedf4 (diff)
rcu: Add event tracing for no-CBs CPUs' callback registration
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r--kernel/rcutree_plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h
index 90a191452550..7225a5a14cef 100644
--- a/kernel/rcutree_plugin.h
+++ b/kernel/rcutree_plugin.h
@@ -2285,6 +2285,13 @@ static bool __call_rcu_nocb(struct rcu_data *rdp, struct rcu_head *rhp,
2285 if (!is_nocb_cpu(rdp->cpu)) 2285 if (!is_nocb_cpu(rdp->cpu))
2286 return 0; 2286 return 0;
2287 __call_rcu_nocb_enqueue(rdp, rhp, &rhp->next, 1, lazy); 2287 __call_rcu_nocb_enqueue(rdp, rhp, &rhp->next, 1, lazy);
2288 if (__is_kfree_rcu_offset((unsigned long)rhp->func))
2289 trace_rcu_kfree_callback(rdp->rsp->name, rhp,
2290 (unsigned long)rhp->func,
2291 rdp->qlen_lazy, rdp->qlen);
2292 else
2293 trace_rcu_callback(rdp->rsp->name, rhp,
2294 rdp->qlen_lazy, rdp->qlen);
2288 return 1; 2295 return 1;
2289} 2296}
2290 2297