Merge tag 'platform-drivers-x86-v4.9-2' of git://git.infradead.org/users/dvhart/linux...
[cascardo/linux.git] / kernel / time / timekeeping_debug.c
index 107310a..ca9fb80 100644 (file)
@@ -75,5 +75,7 @@ void tk_debug_account_sleep_time(struct timespec64 *t)
        int bin = min(fls(t->tv_sec), NUM_BINS-1);
 
        sleep_time_bin[bin]++;
+       pr_info("Suspended for %lld.%03lu seconds\n", (s64)t->tv_sec,
+                       t->tv_nsec / NSEC_PER_MSEC);
 }