Traces of rcu_prep_idle events can be confusing because rcu_cleanup_after_idle() does no tracing. This commit therefore adds this tracing.
Showing the changes to kernel (1 of 2 files). Show all
Unified · Split
| @@ -2085,6 +2085,7 @@ static void rcu_prepare_for_idle_init(int cpu) · 2084 unmodified lines | |||
| 2085 | static void rcu_cleanup_after_idle(int cpu) | 2085 | static 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 | /* |