tick-sched: add more debug information
authorThomas Gleixner <tglx@linutronix.de>
Fri, 1 Feb 2008 16:45:14 +0000 (17:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Feb 2008 16:45:14 +0000 (17:45 +0100)
commit5df7fa1c62146a0933767d040d400013310dbcc7
treebfd108f0d33a91d4f2476df7f5a7f562b640eb97
parent1001d0a9ee74a468077dfd4da0565174e88de26b
tick-sched: add more debug information

To allow better diagnosis of tick-sched related, especially NOHZ
related problems, we need to know when the last wakeup via an irq
happened and when the CPU left the idle state.

Add two fields (idle_waketime, idle_exittime) to the tick_sched
structure and add them to the timer_list output.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/tick.h
kernel/time/tick-sched.c
kernel/time/timer_list.c