From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10220 invoked by alias); 23 Sep 2008 14:38:44 -0000 Received: (qmail 10210 invoked by uid 22791); 23 Sep 2008 14:38:43 -0000 X-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_27,KAM_MX X-Spam-Check-By: sourceware.org Received: from fgwmail7.fujitsu.co.jp (HELO fgwmail7.fujitsu.co.jp) (192.51.44.37) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 14:38:04 +0000 Received: from m5.gw.fujitsu.co.jp ([10.0.50.75]) by fgwmail7.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id m8NEaTV0030697 (envelope-from kosaki.motohiro@jp.fujitsu.com); Tue, 23 Sep 2008 23:36:29 +0900 Received: from smail (m5 [127.0.0.1]) by outgoing.m5.gw.fujitsu.co.jp (Postfix) with ESMTP id 7DCF52AC026; Tue, 23 Sep 2008 23:36:29 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m5.gw.fujitsu.co.jp (Postfix) with ESMTP id 5461912C044; Tue, 23 Sep 2008 23:36:29 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 33DCC1DB8037; Tue, 23 Sep 2008 23:36:29 +0900 (JST) Received: from sw11.gw.fujitsu.co.jp (sw11.gw.fujitsu.co.jp [10.0.76.51]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id EA4E01DB8038; Tue, 23 Sep 2008 23:36:28 +0900 (JST) Received: from [127.0.0.1] ([172.31.141.69]) by sw11.gw.fujitsu.co.jp with ESMTP id m8NEaM6Z018159; Tue, 23 Sep 2008 23:36:26 +0900 (JST) Date: Tue, 23 Sep 2008 14:38: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: <48D81B5F.2030702@redhat.com> References: <33307c790809221313s3532d851g7239c212bc72fe71@mail.gmail.com> <48D81B5F.2030702@redhat.com> Message-Id: <20080923232239.DC1E.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/msg00761.txt.bz2 > By the way, systemtap uses two modes; > > - single-channel mode > In this mode, all cpus share one buffer channel to write and read. > each writer locks spinlock and write a probe-local data to buffer. > > - per-cpu buffer mode > In this mode, we use an atomic sequential number for ordering data. If > user doesn't need it(because they have their own timestamps), they can > choose not to use that seq-number. I can't imazine a merit of the single-channel mode. Could you please explain it? Because some architecture don't have fine grained timestamp? if so, could you explain which architecture don't have it?