On 05/21/2013 10:32 PM, Zoran Markovic wrote:
From: Colin Cross <ccr...@android.com>
Below is a patch from android kernel that maintains a histogram of
suspend times. Please review and provide feedback.
Statistices on the time spent in suspend are kept in
/sys/kernel/debug/sleep_time.
Cc: Android Kernel Team <kernel-t...@android.com>
Cc: Colin Cross <ccr...@android.com>
Cc: Todd Poynor <toddpoy...@google.com>
Cc: San Mehat <s...@google.com>
Cc: Benoit Goby <ben...@android.com>
Cc: John Stultz <john.stu...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Signed-off-by: Colin Cross <ccr...@android.com>
Signed-off-by: Todd Poynor <toddpoy...@google.com>
[zoran.marko...@linaro.org: Re-formatted suspend time table to better fit
expected values. Moved accounting of suspend time into timekeeping core.
Removed CONFIG_SUSPEND_TIME flag and made the feature conditional on
CONFIG_DEBUG_FS. Changed the file name to sleep_time to better fit terminology
in timekeeping core. Changed seq_printf to seq_puts. Tweaked commit message]
Signed-off-by: Zoran Markovic <zoran.marko...@linaro.org>
Queued for 3.11.
Thanks!
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/