diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-08-15 13:23:23 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-09-23 09:18:16 -0700 |
commit | 69a79bb12a81024d718e73c52e886907a3777b34 (patch) | |
tree | 0beef5d898f1373dbc5b4834d24d676e73ea1da2 /include/trace | |
parent | 756cbf6befe6f59b0b3e0967d92a66c11e2566ed (diff) | |
download | op-kernel-dev-69a79bb12a81024d718e73c52e886907a3777b34.zip op-kernel-dev-69a79bb12a81024d718e73c52e886907a3777b34.tar.gz |
rcu: Track rcu_nocb_kthread()'s sleeping and awakening
This commit adds event traces to track all of rcu_nocb_kthread()'s
blocking and awakening.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/rcu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h index 4301cd9..a087d82 100644 --- a/include/trace/events/rcu.h +++ b/include/trace/events/rcu.h @@ -183,8 +183,12 @@ TRACE_EVENT(rcu_grace_period_init, * "WakeOvf": Wake rcuo kthread, CB list is huge. * "WakeNot": Don't wake rcuo kthread. * "WakeNotPoll": Don't wake rcuo kthread because it is polling. + * "Poll": Start of new polling cycle for rcu_nocb_poll. + * "Sleep": Sleep waiting for CBs for !rcu_nocb_poll. * "WokeEmpty": rcuo kthread woke to find empty list. * "WokeNonEmpty": rcuo kthread woke to find non-empty list. + * "WaitQueue": Enqueue partially done, timed wait for it to complete. + * "WokeQueue": Partial enqueue now complete. */ TRACE_EVENT(rcu_nocb_wake, |