]> asedeno.scripts.mit.edu Git - linux.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)
commit75e0678e7095c486a1b39ea560f8eb51a2714d6d
tree6bd6e984c893388fe2dae27c9f7ae2fffc4a2e42
parent819b1bb30d2fb1b3a2b8016e83f02dfc85ada1e0
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