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


Groups > linux.kernel > #1692552

Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char *prefix_msg)

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char *prefix_msg)
Date 2017-07-20 10:30 +0200
Message-ID <u5f0m-4He-7@gated-at.bofh.it> (permalink)
References <u4I4q-7z6-5@gated-at.bofh.it> <u4IH8-7NO-23@gated-at.bofh.it> <u4IQO-86Q-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

> >
> >       pr_info("My so important log message %lld\n", ktime_get_real_seconds());
> 
> Legacy (these prints have been in Android tree since 2013) for all our
> battery and power analysis tools are keyed off RTC format. There is some
> momentum, default should be epoch seconds/nanoseconds as that is a good
> example; and another option can select RTC (the option can be an internal
> patch to alter the format ... ick)

Yes, android development is broken. Please fix it, rather then trying
to break kernel to match.

Thank you,
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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


Thread

[PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char *prefix_msg) Mark Salyzyn <salyzyn@android.com> - 2017-07-18 23:20 +0200
  Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Thomas Gleixner <tglx@linutronix.de> - 2017-07-19 00:00 +0200
    Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Mark Salyzyn <salyzyn@android.com> - 2017-07-19 00:10 +0200
      Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Thomas Gleixner <tglx@linutronix.de> - 2017-07-19 00:40 +0200
        Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Mark Salyzyn <salyzyn@android.com> - 2017-07-19 01:30 +0200
          Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Thomas Gleixner <tglx@linutronix.de> - 2017-07-19 09:30 +0200
            Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Prarit Bhargava <prarit@redhat.com> - 2017-07-19 14:10 +0200
              Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Thomas Gleixner <tglx@linutronix.de> - 2017-07-19 14:30 +0200
                Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Prarit Bhargava <prarit@redhat.com> - 2017-07-19 16:30 +0200
              Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Mark Salyzyn <salyzyn@android.com> - 2017-07-19 20:20 +0200
      Re: [PATCH v2 1/4] time: rtc-lib: Add rtc_show_time(const char  *prefix_msg) Pavel Machek <pavel@ucw.cz> - 2017-07-20 10:30 +0200

csiph-web