History

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.

Paul E. McKenney committed 14 years ago

Commit 2fdbb311 parent 66f75a52 files · +2 −0Browse files

Showing the changes to kernel (1 of 2 files). Show all

Unified · Split

kernel/rcutree_plugin.h+1−0
@@ -2085,6 +2085,7 @@ static void rcu_prepare_for_idle_init(int cpu) · 2084 unmodified lines
20852085 static void rcu_cleanup_after_idle(int cpu)
20862086 {
20872087 hrtimer_cancel(&per_cpu(rcu_idle_gp_timer, cpu));
2088+ trace_rcu_prep_idle("Cleanup after idle");
20882089 }
20892090
20902091 /*