Skip to contentSkip to conversation

PM / Suspend: Print wall time

PATCH Superseded Mark Salyzyn 1 participant 1 message Jul 18, 2017 Real time clock (RTC)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover PM / Suspend: Print wall time

Helpful for post-mortem analysis to synchronize CLOCK_MONOTONIC kernel logs with CLOCK_REALTIME user space logs. Post-mortem analysis for Battery and Power diagnosis. Improved reporting of suspension times against the rtc wallclock, which is persistent even at the lowest power management states.

analyze_suspend.py requires a configured kernel to debug, these prints can remain in a field product with CONFIG_RTC_TIME_SHOW.

Sincerely -- Mark Salyzyn