OSDN Git Service

timekeeping: Prints the amounts of time spent during suspend
authorRuchi Kandoi <kandoiruchi@google.com>
Thu, 11 Aug 2016 21:35:01 +0000 (14:35 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 31 Aug 2016 21:43:34 +0000 (14:43 -0700)
commit0bf43f15db857e83daf4134aa062c8b157a80ee0
tree5a632667392b9e47f75a6bd5f0ded329bcc7976d
parent36374583f9084cdab4b5dcf5521a3ce55bebb9fa
timekeeping: Prints the amounts of time spent during suspend

In addition to keeping a histogram of suspend times, also
print out the time spent in suspend to dmesg.

This helps to keep track of suspend time while debugging using
kernel logs.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
[jstultz: Tweaked commit message]
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/timekeeping_debug.c