Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760146Ab2EKTvl (ORCPT ); Fri, 11 May 2012 15:51:41 -0400 Received: from ironport-out.teksavvy.com ([206.248.143.162]:23936 "EHLO ironport-out.teksavvy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752506Ab2EKTvk (ORCPT ); Fri, 11 May 2012 15:51:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBACxOgk8Y9geI/2dsb2JhbAANNoVztlABAQEBAyNVARALGAICBRYLAgIJAwIBAgFFBg0BBQIBAbQkihiBL44TgRgEqSU X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="179684232" Message-ID: <4FAD6DCA.4030909@teksavvy.com> Date: Fri, 11 May 2012 15:51:38 -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: Kay Sievers , Greg KH , Sasha Levin , 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: 1137 Lines: 32 On 12-05-11 11:47 AM, Linus Torvalds wrote: > On Fri, May 11, 2012 at 8:40 AM, Kay Sievers wrote: >> >> Should we just pad the multi-newline-in-one-record output with 15 >> spaces when printk_time is on? > > Yeah, I think that would be the nicest thing. > > Btw, I'd also *love* to see some model (eventually - not necessarily > now) where we could have the option of the time printouts being a bit > different (rather than just on/off). It would be very nice if we had > "relative" time printouts for events close together, so the rule could > be something like: > > - if time is same as last line, pad with empty > > - if time is more than a minute from last one, show an absolute value > of dd hh:mm:ss > > - otherwise, show a relative value of +ss.mmmmmm > > So the on/off choice could be on/off/relative. > > Hmm? Breaks the "grep for specific messages" case. -- 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/