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


Groups > linux.kernel > #1726655

[PATCH 0/3 v11] printk: Add new timestamps

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Prarit Bhargava <prarit@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 0/3 v11] printk: Add new timestamps
Date Tue, 05 Sep 2017 14:10:02 +0200
Message-ID <umkQ2-2tt-9@gated-at.bofh.it> (permalink)
Dmarc-Filter OpenDMARC Filter v1.3.2 mx1.redhat.com 3699CC0050BE
Authentication-Results ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=prarit@redhat.com
X-Scanned-By MIMEDefang 2.79 on 10.5.11.13
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 05 Sep 2017 12:06:46 +0000 (UTC)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 55
Organization linux.* mail to news gateway
X-Original-Cc Prarit Bhargava <prarit@redhat.com>, Mark Salyzyn <salyzyn@android.com>, Jonathan Corbet <corbet@lwn.net>, Petr Mladek <pmladek@suse.com>, Sergey Senozhatsky <sergey.senozhatsky@gmail.com>, Steven Rostedt <rostedt@goodmis.org>, John Stultz <john.stultz@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Stephen Boyd <sboyd@codeaurora.org>, Andrew Morton <akpm@linux-foundation.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>, Christoffer Dall <cdall@linaro.org>, Deepa Dinamani <deepa.kernel@gmail.com>, Ingo Molnar <mingo@kernel.org>, Joel Fernandes <joelaf@google.com>, Kees Cook <keescook@chromium.org>, Peter Zijlstra <peterz@infradead.org>, Geert Uytterhoeven <geert+renesas@glider.be>, "Luis R. Rodriguez" <mcgrof@kernel.org>, Nicholas Piggin <npiggin@gmail.com>, "Jason A. Donenfeld" <Jason@zx2c4.com>, Olof Johansson <olof@lixom.net>, Josh Poimboeuf <jpoimboe@redhat.com>, linux-doc@vger.kernel.org
X-Original-Date Tue, 5 Sep 2017 08:06:38 -0400
X-Original-Message-ID <1504613201-23868-1-git-send-email-prarit@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1726655

Show key headers only | View raw


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 issues relate to each other in real time.

Add monotonic, boottime, and real clock timestamps in addition to the existing
local hardware clock timestamp.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Mark Salyzyn <salyzyn@android.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Christoffer Dall <cdall@linaro.org>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Joel Fernandes <joelaf@google.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: linux-doc@vger.kernel.org
[jstultz: reworked Kconfig settings to avoid defconfig noise]
Signed-off-by: John Stultz <john.stultz@linaro.org>

Prarit Bhargava (2):
  time: Make fast functions return 0 before timekeeping is initialized
  printk: Add monotonic, boottime, and realtime timestamps

Thomas Gleixner (1):
  timekeeping: Provide NMI safe access to clock realtime

 Documentation/admin-guide/kernel-parameters.txt |   6 +-
 include/linux/timekeeper_internal.h             |   6 +-
 include/linux/timekeeping.h                     |   1 +
 kernel/printk/printk.c                          | 113 ++++++++++++++++++++++--
 kernel/time/timekeeping.c                       |  72 +++++++++++++--
 lib/Kconfig.debug                               |  48 +++++++++-
 6 files changed, 228 insertions(+), 18 deletions(-)

-- 
1.8.5.5

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


Thread

[PATCH 0/3 v11] printk: Add new timestamps Prarit Bhargava <prarit@redhat.com> - 2017-09-05 14:10 +0200
  [PATCH 2/3 v11] timekeeping: Provide NMI safe access to clock realtime Prarit Bhargava <prarit@redhat.com> - 2017-09-05 14:10 +0200
  [PATCH 1/3 v11] time: Make fast functions return 0 before timekeeping is initialized Prarit Bhargava <prarit@redhat.com> - 2017-09-05 14:10 +0200
    Re: [PATCH 1/3 v11] time: Make fast functions return 0 before  timekeeping is initialized Thomas Gleixner <tglx@linutronix.de> - 2017-09-05 14:20 +0200

csiph-web