From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbcAFRJ4 (ORCPT ); Wed, 6 Jan 2016 12:09:56 -0500 Received: from smtprelay0187.hostedemail.com ([216.40.44.187]:57419 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751582AbcAFRJy (ORCPT ); Wed, 6 Jan 2016 12:09:54 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3871:3872:3874:4321:5007:6261:7903:10004:10400:10848:11026:11232:11473:11658:11783:11914:12043:12517:12519:12740:13069:13311:13357:13894:14659:21080:30051:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: peace50_1bdcbbc1d065b X-Filterd-Recvd-Size: 1854 Message-ID: <1452100190.24575.35.camel@perches.com> Subject: Re: [PATCH 0/2] printk, Add a printk.clock kernel parameter From: Joe Perches To: Prarit Bhargava , linux-kernel@vger.kernel.org Cc: John Stultz , Xunlei Pang , Thomas Gleixner , Baolin Wang , Andrew Morton , Greg Kroah-Hartman , Petr Mladek , Tejun Heo , Peter Hurley , Vasily Averin Date: Wed, 06 Jan 2016 09:09:50 -0800 In-Reply-To: <1452085234-10667-1-git-send-email-prarit@redhat.com> References: <1452085234-10667-1-git-send-email-prarit@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.3-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.