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

Unified · Split

2 files
  1. include/trace/events/rcu.h +1 −0
  2. kernel/rcutree_plugin.h +1 −0
include/trace/events/rcu.h+1−0
@@ -292,6 +292,7 @@ TRACE_EVENT(rcu_dyntick, · 291 unmodified lines
292 * "More callbacks": Still more callbacks, try again to clear them out.292 * "More callbacks": Still more callbacks, try again to clear them out.
293 * "Callbacks drained": All callbacks processed, off to dyntick idle!293 * "Callbacks drained": All callbacks processed, off to dyntick idle!
294 * "Timer": Timer fired to cause CPU to continue processing callbacks.294 * "Timer": Timer fired to cause CPU to continue processing callbacks.
295 * "Cleanup after idle": Idle exited, timer canceled.
295 */296 */
296TRACE_EVENT(rcu_prep_idle,297TRACE_EVENT(rcu_prep_idle,
297 298
kernel/rcutree_plugin.h+1−0
@@ -2085,6 +2085,7 @@ static void rcu_prepare_for_idle_init(int cpu) · 2084 unmodified lines
2085static void rcu_cleanup_after_idle(int cpu)2085static void rcu_cleanup_after_idle(int cpu)
2086{2086{
2087 hrtimer_cancel(&per_cpu(rcu_idle_gp_timer, cpu));2087 hrtimer_cancel(&per_cpu(rcu_idle_gp_timer, cpu));
2088 trace_rcu_prep_idle("Cleanup after idle");
2088}2089}
2089 2090
2090/*2091/*