projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae6e64
)
rcu: Add event tracing for no-CBs CPUs' callback registration
author
Paul E. McKenney
<paul.mckenney@linaro.org>
Sun, 10 Feb 2013 01:42:16 +0000
(17:42 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:45 +0000
(08:04 -0700)
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree_plugin.h
patch
|
blob
|
history
diff --git
a/kernel/rcutree_plugin.h
b/kernel/rcutree_plugin.h
index 90a19145255014933705d5f77ced7528e8930946..7225a5a14cef5937567a7ebdf4c7c51c58bc2608 100644
(file)
--- 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,
if (!is_nocb_cpu(rdp->cpu))
return 0;
__call_rcu_nocb_enqueue(rdp, rhp, &rhp->next, 1, lazy);
+ if (__is_kfree_rcu_offset((unsigned long)rhp->func))
+ trace_rcu_kfree_callback(rdp->rsp->name, rhp,
+ (unsigned long)rhp->func,
+ rdp->qlen_lazy, rdp->qlen);
+ else
+ trace_rcu_callback(rdp->rsp->name, rhp,
+ rdp->qlen_lazy, rdp->qlen);
return 1;
}