From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8536 invoked by alias); 23 Sep 2008 18:04:17 -0000 Received: (qmail 8526 invoked by uid 22791); 23 Sep 2008 18:04:16 -0000 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_54,KAM_MX X-Spam-Check-By: sourceware.org Received: from fgwmail5.fujitsu.co.jp (HELO fgwmail5.fujitsu.co.jp) (192.51.44.35) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 18:03:41 +0000 Received: from m6.gw.fujitsu.co.jp ([10.0.50.76]) by fgwmail5.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id m8NHxenO011305 (envelope-from kosaki.motohiro@jp.fujitsu.com); Wed, 24 Sep 2008 02:59:40 +0900 Received: from smail (m6 [127.0.0.1]) by outgoing.m6.gw.fujitsu.co.jp (Postfix) with ESMTP id E719253C160; Wed, 24 Sep 2008 02:59:39 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m6.gw.fujitsu.co.jp (Postfix) with ESMTP id BDF54240049; Wed, 24 Sep 2008 02:59:39 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id AA3291DB803A; Wed, 24 Sep 2008 02:59:39 +0900 (JST) Received: from sw11.gw.fujitsu.co.jp (sw11.gw.fujitsu.co.jp [10.0.76.51]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 6A2431DB8037; Wed, 24 Sep 2008 02:59:39 +0900 (JST) Received: from [127.0.0.1] ([172.31.142.191]) by sw11.gw.fujitsu.co.jp with ESMTP id m8NHxWFu022709; Wed, 24 Sep 2008 02:59:37 +0900 (JST) Date: Tue, 23 Sep 2008 18:04:00 -0000 From: KOSAKI Motohiro To: Masami Hiramatsu Subject: Re: Unified tracing buffer Cc: kosaki.motohiro@jp.fujitsu.com, Martin Bligh , Linux Kernel Mailing List , Linus Torvalds , Thomas Gleixner , Mathieu Desnoyers , Steven Rostedt , od@novell.com, "Frank Ch. Eigler" , systemtap-ml In-Reply-To: <48D90970.3060409@redhat.com> References: <20080923232239.DC1E.KOSAKI.MOTOHIRO@jp.fujitsu.com> <48D90970.3060409@redhat.com> Message-Id: <20080924025457.DC24.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00775.txt.bz2 > > I can't imazine a merit of the single-channel mode. > > Could you please explain it? > > Actually, single-channel mode is for not-frequently event tracing. > At least systemtap case, sometimes we just want to collect data > and watch it periodically(as like as 'top'). Or, just monitoring > errors as additional printk. in these cases, overhead is not so > important. > > I think the main reason of using single-channel mode is simplicity of > userspace reader. We can use 'cat' or 'tail' to read the buffer on-line. > I'm not sure how much overhead ftrace-like buffer merging routine has, > but if kernel provides an interface which gives us single-merged buffer > image(like ftrace buffer), we are grad to use it. :-) Yup, I also think it is better. Thanks.