Re: [PATCH 2/2 v10] printk: Add monotonic, boottime, and realtime timestamps

2017-08-31 Thread Thomas Gleixner
On Mon, 28 Aug 2017, Prarit Bhargava wrote: > diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c > index d111039e0245..9463606951b1 100644 > --- a/kernel/time/timekeeping.c > +++ b/kernel/time/timekeeping.c > @@ -509,6 +509,19 @@ u64 notrace ktime_get_boot_fast_ns(void) >

[PATCH 2/2 v10] printk: Add monotonic, boottime, and realtime timestamps

2017-08-28 Thread Prarit Bhargava
printk.time=1/CONFIG_PRINTK_TIME=1 adds a unmodified local hardware clock timestamp to printk messages. The local hardware clock loses time each day making it difficult to determine exactly when an issue has occurred in the kernel log, and making it difficult to determine how kernel and hardware