Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755454AbZCDDBS (ORCPT ); Tue, 3 Mar 2009 22:01:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752648AbZCDDBE (ORCPT ); Tue, 3 Mar 2009 22:01:04 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:57080 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752682AbZCDDBE (ORCPT ); Tue, 3 Mar 2009 22:01:04 -0500 Date: Tue, 3 Mar 2009 22:01:00 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: linux-kernel@vger.kernel.org cc: Ingo Molnar , 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: <20090304024921.153061228@goodmis.org> Message-ID: References: <20090304024921.153061228@goodmis.org> 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: 1141 Lines: 29 On Tue, 3 Mar 2009, Steven Rostedt wrote: > Yes you can run multiple instances of this on different buffers. > > # ./rb-read.pl /tmp/buf-0 > > produces: > > 0 [000] 7071.936459: (irq_handler_entry) irq 48 > 0 [000] 7071.936462: (irq_handler_exit) irq 48 ret 1 > 0 [000] 7071.988801: (sched_signal_send) sig: 14 task 0 > 0 [000] 7071.988813: (sched_wakeup) task 0 success=1 > 0 [000] 7071.988823: (sched_switch) prev 0:140 ==> next ntpd:6582272:0 > 3303 [000] 7071.988916: (sched_switch) prev 0:120 ==> next swap:7497072:0 > 0 [000] 7072.020370: (sched_wakeup) task 0 success=1 > 0 [000] 7072.020407: (sched_switch) prev 0:140 ==> next even:808416116:0 My perl script is still a bit buggy, but you get the idea ;-) -- Steve > 16 [000] 7071.936157: (sched_switch) prev 0:115 ==> next swap:7497072:0 > -- 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/