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

2017-08-25 Thread Thomas Gleixner
On Fri, 25 Aug 2017, Prarit Bhargava wrote: > + > + if (printk_time_source == PRINTK_TIME_UNDEFINED) > + printk_time_source = _printk_time; > +#ifndef CONFIG_PRINTK_TIME_DEBUG > + else if ((printk_time_source != _printk_time) && > + (_printk_time != PRINTK_TIME_DISA

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

2017-08-25 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 i