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


Groups > linux.kernel > #1302902

Re: [PATCH 0/2] printk, Add a printk.clock kernel parameter

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] printk, Add a printk.clock kernel parameter
Date 2016-01-06 18:10 +0100
Message-ID <qNZKY-43H-45@gated-at.bofh.it> (permalink)
References <qNW0H-1yG-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2016-01-06 at 08:00 -0500, Prarit Bhargava wrote:
> Over the past years I've seen many reports of bugs that include
> time-stamped kernel logs (enabled when CONFIG_PRINTK_TIME=y or
> print.time=1 is specified as a kernel parameter) that do not align
> with either external time stamped logs or /var/log/messages.
[]
> This patch introduces printk.clock=[local|boot|real|tai] allowing a
> user to specify an adjusted clock to use with printk timestamps.  The
> hardware clock, or the existing functionality, is preserved by default.

printk.c is already way too large.

Perhaps it would be reasonable to create a new
kernel/printk/timestamp.c file with these changes.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH 0/2] printk, Add a printk.clock kernel parameter Prarit Bhargava <prarit@redhat.com> - 2016-01-06 14:10 +0100
  Re: [PATCH 0/2] printk, Add a printk.clock kernel parameter Joe Perches <joe@perches.com> - 2016-01-06 18:10 +0100

csiph-web