Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752397Ab2EMNWI (ORCPT ); Sun, 13 May 2012 09:22:08 -0400 Received: from ironport-out.teksavvy.com ([206.248.143.162]:4281 "EHLO ironport-out.teksavvy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751851Ab2EMNWG (ORCPT ); Sun, 13 May 2012 09:22:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEBACxOgk8Y9geI/2dsb2JhbAANNoVzsCSGLAEBAQEDI1YQCxgCAgUhAgIPAkYGDQEHAQG0JIoYgS+OE4EYBKkl X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="179920043" Message-ID: <4FAFB57C.40906@teksavvy.com> Date: Sun, 13 May 2012 09:22:04 -0400 From: Mark Lord User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Linus Torvalds CC: Sasha Levin , Kay Sievers , Greg KH , Yinghai Lu , Joe Perches , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND 1/3] printk: convert byte-buffer to variable-length record buffer References: <1336475689.1179.12.camel@mop> <1336571457.30189.29.camel@joe2Laptop> <20120509230649.GA10695@kroah.com> <1336617045.25027.2.camel@mop> <20120511151944.GA6990@kroah.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1331 Lines: 36 On 12-05-12 02:35 PM, Linus Torvalds wrote: > > (b) The one thing I have often wanted is not "after how many seconds > of boot", but "when". So it would actually be nice if the absolute > time was converted into local time. The kernel can actually do that, > so I suspect that the best format for the relative timestamps would > really be something like > > > [May12 11:27] foo > > [May12 11:28] bar > > [ +5.077527] zoot > > [ +10.235225] foo > > [ +0.002971] bar > > [May12 11:29] zoot > > [ +0.003081] foo > > because that would be really useful sometimes. > > (And no, never mind the year. If you log those things long-term, the > year will be in the full log, so logging the year in the dmesg is just > pointless.) > > I dunno. The above is what I would have liked to see quite often. I > look at dmesg, and notice that I had an WARN_ON_ONCE in it, and I have > no idea when it happened, because the "seconds since boot" is totally > useless information for me, as I'm too lazy to try to use /proc/uptime > to calculate what it is. Look in syslog ? -- 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/