summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2012-02-23 15:58:29 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-04-24 20:55:19 -0700
commit2fdbb31b662787f78bb78b3e4e18f1a072058ffc (patch)
treec8dbe70ab53102acf7f802eb50c5262c82cd45aa /kernel/rcutree_plugin.h
parent66f75a5d028beaf67c931435fdc3e7823125730c (diff)
downloadlinux-stable-2fdbb31b662787f78bb78b3e4e18f1a072058ffc.tar.gz
linux-stable-2fdbb31b662787f78bb78b3e4e18f1a072058ffc.tar.bz2
linux-stable-2fdbb31b662787f78bb78b3e4e18f1a072058ffc.zip
rcu: Add RCU_FAST_NO_HZ tracing for idle exit
Traces of rcu_prep_idle events can be confusing because rcu_cleanup_after_idle() does no tracing. This commit therefore adds this tracing. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h
index c023464816be..1e561ab952a3 100644
--- a/kernel/rcutree_plugin.h
+++ b/kernel/rcutree_plugin.h
@@ -2085,6 +2085,7 @@ static void rcu_prepare_for_idle_init(int cpu)
static void rcu_cleanup_after_idle(int cpu)
{
hrtimer_cancel(&per_cpu(rcu_idle_gp_timer, cpu));
+ trace_rcu_prep_idle("Cleanup after idle");
}
/*