Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758447Ab0LMRSu (ORCPT ); Mon, 13 Dec 2010 12:18:50 -0500 Received: from canuck.infradead.org ([134.117.69.58]:35851 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753484Ab0LMRSs convert rfc822-to-8bit (ORCPT ); Mon, 13 Dec 2010 12:18:48 -0500 Subject: Re: [PATCH 1/2] perf tools: Add reference timestamp to perf header From: Peter Zijlstra To: Frederic Weisbecker Cc: Arnaldo Carvalho de Melo , "David S. Ahern" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20101213171537.GC1691@nowhere> References: <1291773285-16254-1-git-send-email-daahern@cisco.com> <1291773285-16254-2-git-send-email-daahern@cisco.com> <20101212201613.GA1784@nowhere> <4D06301C.2090309@cisco.com> <20101213155451.GA1691@nowhere> <20101213164854.GL5407@ghostprotocols.net> <20101213170923.GB1691@nowhere> <1292260289.6803.297.camel@twins> <20101213171537.GC1691@nowhere> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Mon, 13 Dec 2010 18:18:19 +0100 Message-ID: <1292260699.6803.305.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1524 Lines: 39 On Mon, 2010-12-13 at 18:15 +0100, Frederic Weisbecker wrote: > On Mon, Dec 13, 2010 at 06:11:29PM +0100, Peter Zijlstra wrote: > > On Mon, 2010-12-13 at 18:09 +0100, Frederic Weisbecker wrote: > > > > > > > > > Right, but Peter wanted us to get rid of these user events types. > > > > Yes they suck. > > > > > I guess we can't really do this as new perf tools must be able > > > to support old perf files. > > > > Preferably, yes, but I don't see why we can't break the data file format > > if we've got good reasons to. > > IMO we should prioritize the backward compatibility over some little code sanity. > It's worth a very small range of values to reserve in the kernel and we are done. Feh, excuses just grow more fungus on your code. > > > So this should be the last one to add. Something like PERF_RECORD_GEN_EVT > > > that has a field in its headers containing a sub-type which can be this > > > wall clock but can also host about everything in the future. > > > > > > This way we don't propagate more the possible overlap with the kernel. > > > > I don't see why we should add more, that's going the wrong direction. > > This must be the last one. No, the last one already happened, you cannot postpone the last one, there will always be another excuse. -- 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/