Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756595AbZCDOv7 (ORCPT ); Wed, 4 Mar 2009 09:51:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753955AbZCDOvj (ORCPT ); Wed, 4 Mar 2009 09:51:39 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:47361 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753874AbZCDOvi (ORCPT ); Wed, 4 Mar 2009 09:51:38 -0500 Date: Wed, 4 Mar 2009 09:51:34 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Ingo Molnar cc: linux-kernel@vger.kernel.org, Andrew Morton , Peter Zijlstra , Frederic Weisbecker , Theodore Tso , Arjan van de Ven , Pekka Paalanen , Arnaldo Carvalho de Melo , "H. Peter Anvin" , Mathieu Desnoyers , Martin Bligh , "Frank Ch. Eigler" , Tom Zanussi , Masami Hiramatsu , KOSAKI Motohiro , Jason Baron , Christoph Hellwig , Jiaying Zhang , Eduard - Gabriel Munteanu , mrubin@google.com, md@google.com Subject: Re: [PATCH 0/5] [RFC] binary reading of ftrace ring buffers In-Reply-To: <20090304102640.GB31239@elte.hu> Message-ID: References: <20090304024921.153061228@goodmis.org> <20090304102640.GB31239@elte.hu> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1356 Lines: 36 On Wed, 4 Mar 2009, Ingo Molnar wrote: > > > > The splice C code: > > http://www.kernel.org/pub/linux/kernel/people/rostedt/splice.c > > > > The perl script to parse: > > http://www.kernel.org/pub/linux/kernel/people/rostedt/rb-read.pl > > > > And yes I know, they are both ugly :-p > > Any chance of merging them into a single perl script? I.e. the > perl script would embedd the .c code and build it on every > invocation (into /tmp), so that one can do single-tool tracing > with no immediate binary components. Such self-sufficiency is > very handy when probing systems in a minimally invasive way. > > And we could also have twice the ugliness for the same price. > Gag, that would really be ugly code ;-) If anything I might actually want to break up the perl script. This was just made to be an example. Any serious user would most likely write their own user apps. This was more of a proof of concept. I could clean up that code, and then have one big file that does all the ugliness for those that just want to tinker with it. But that is low on the totem pole ;-) -- Steve -- 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/