Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701275

Re: [PATCH v2] printk: Add boottime and real timestamps

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] printk: Add boottime and real timestamps
Date 2017-08-01 19:50 +0200
Message-ID <u9JsS-71o-11@gated-at.bofh.it> (permalink)
References <u9EWe-47K-21@gated-at.bofh.it> <u9IQa-6Iq-19@gated-at.bofh.it> <u9Jjc-6XQ-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 1, 2017 at 10:35 AM, Prarit Bhargava <prarit@redhat.com> wrote:
>
>
> On 08/01/2017 01:00 PM, John Stultz wrote:
>> Is there a reason your not also adding PRINTK_TIME_BOOT here (which to
>> me would be more generally useful then REAL or MONO)?
>
> REAL has been useful to me in debug cases where events on the system were timed
> to the wall clock (ex cron job running at 3AM).  I hadn't really thought much
> about using BOOT TBH because MONO seemed to work just fine.
>
> Mark Salyzyn, did you want BOOT or MONO?

I know Mark has specific formatting needs, so I'm not going to speak
for him, but BOOT is actually a nice improvement over MONO, since it
includes suspend time, and avoids inconsistencies due to userspace
tweaking the time, which REALTIME has.  So for debugging suspend
related issues and being able to understand how much time a system has
spent in suspend vs not it would be quite useful.

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] printk: Add boottime and real timestamps John Stultz <john.stultz@linaro.org> - 2017-08-01 19:10 +0200
  Re: [PATCH v2] printk: Add boottime and real timestamps Prarit Bhargava <prarit@redhat.com> - 2017-08-01 19:40 +0200
    Re: [PATCH v2] printk: Add boottime and real timestamps John Stultz <john.stultz@linaro.org> - 2017-08-01 19:50 +0200
    Re: [PATCH v2] printk: Add boottime and real timestamps Thomas Gleixner <tglx@linutronix.de> - 2017-08-01 21:20 +0200
    Re: [PATCH v2] printk: Add boottime and real timestamps Mark Salyzyn <salyzyn@android.com> - 2017-08-01 21:50 +0200

csiph-web