From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755228Ab0KJRtY (ORCPT ); Wed, 10 Nov 2010 12:49:24 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:57258 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755183Ab0KJRtX (ORCPT ); Wed, 10 Nov 2010 12:49:23 -0500 Date: Wed, 10 Nov 2010 18:48:52 +0100 From: Ingo Molnar To: Peter Zijlstra Cc: Steven Rostedt , "Luck, Tony" , linux-kernel@vger.kernel.org, ying.huang@intel.com, bp@alien8.de, tglx@linutronix.de, akpm@linux-foundation.org, mchehab@redhat.com, =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Arnaldo Carvalho de Melo , Arjan van de Ven , Mathieu Desnoyers Subject: Re: [RFC/Requirements/Design] h/w error reporting Message-ID: <20101110174852.GB4001@elte.hu> References: <4cd9edd7543527b78@agluck-desktop.sc.intel.com> <20101110101450.GA18481@elte.hu> <1289400056.12418.139.camel@gandalf.stny.rr.com> <1289400234.2191.129.camel@laptop> <1289401781.12418.145.camel@gandalf.stny.rr.com> <1289403019.2084.17.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1289403019.2084.17.camel@laptop> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > On Wed, 2010-11-10 at 10:09 -0500, Steven Rostedt wrote: > > > > > sure the second way is the only way out, but you still need to come up with a > > > trace data format and a control ABI. > > > > Great! Let's start with that then. Could you list some of the basic needs of > > perf? > > Needs for what? I've already got a full control ABI and I can already redirect > output to other buffers ;-) Yep. The obvious direction is to extend the event buffering ABI we already have, with whatever additions that are needed: - document that we already support flight recorder mode - a more compressed record format - NOP filler events up to page boundary, for better splice and for better flight recorder - splice support etc. That's how it evolved until now and it's all very extensible. Steve, could you please list the additions you have in mind, in order of priority? Thanks, Ingo