From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rhlx01.hs-esslingen.de (rhlx01.hs-esslingen.de [129.143.116.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "rhlx01.hs-esslingen.de", Issuer "HE CA - G01" (not verified)) by ozlabs.org (Postfix) with ESMTP id 0C397DDEA3 for ; Fri, 9 Feb 2007 05:01:23 +1100 (EST) Date: Thu, 8 Feb 2007 19:01:19 +0100 From: Adrian Reber To: Arnd Bergmann Subject: Re: [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profiling updated patch Message-ID: <20070208180119.GA24743@lisas.de> References: <1170721711.5204.44.camel@dyn9047021078.beaverton.ibm.com> <1170802957.5204.56.camel@dyn9047021078.beaverton.ibm.com> <200702081821.57358.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <200702081821.57358.arnd@arndb.de> Cc: LKML , Milton Miller , linuxppc-dev@ozlabs.org, oprofile-list@lists.sourceforge.net, cbe-oss-dev@ozlabs.org, Carl Love List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Feb 08, 2007 at 06:21:56PM +0100, Arnd Bergmann wrote: [...] > Moving the sample rate computation to user space sounds like the right > idea, but why not have a more drastic version of it: > > Right now, all products that support this feature run at the same clock > rate (3.2 Ghz), with cpufreq, we can reduce this to 1.6 Ghz. If I understand > this correctly, the value depends only on the frequency, so we could simply > hardcode this in the kernel, and print out a warning message if we ever > encounter a different frequency, right? Just for the record... CAB is running with 2.8 GHz. At least all the boards I have seen. Adrian