]> git.baikalelectronics.ru Git - kernel.git/commit
PM / tick: Add tracepoints for suspend-to-idle diagnostics
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 9 May 2015 23:23:35 +0000 (01:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 14 May 2015 22:26:06 +0000 (00:26 +0200)
commit2ac2ebf33301a4601f0d481c56e7f27a25491164
tree6bd6e984c893388fe2dae27c9f7ae2fffc4a2e42
parent39ab37612e0a250355068a62137eee9353ad274c
PM / tick: Add tracepoints for suspend-to-idle diagnostics

Add suspend/resume tracepoints to tick_freeze() and tick_unfreeze()
to catch when timekeeping is suspended and resumed during suspend-to-idle
so as to be able to check whether or not we enter the "frozen" state
and to measure the time spent in it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-common.c