Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755339AbYLJKO6 (ORCPT ); Wed, 10 Dec 2008 05:14:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754595AbYLJKOs (ORCPT ); Wed, 10 Dec 2008 05:14:48 -0500 Received: from one.firstfloor.org ([213.235.205.2]:60590 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754323AbYLJKOr (ORCPT ); Wed, 10 Dec 2008 05:14:47 -0500 Date: Wed, 10 Dec 2008 11:26:20 +0100 From: Andi Kleen To: Paul Mackerras Cc: Andi Kleen , Ingo Molnar , eranian@gmail.com, linux-kernel@vger.kernel.org, Thomas Gleixner , linux-arch@vger.kernel.org, Andrew Morton , Eric Dumazet , Robert Richter , Arjan van de Veen , Peter Anvin , Peter Zijlstra , Steven Rostedt , David Miller , Paolo Ciarrocchi Subject: Re: [patch] Performance Counters for Linux, v2 Message-ID: <20081210102620.GE23556@one.firstfloor.org> References: <20081208012211.GA23106@elte.hu> <7c86c4470812082237ne58c814s7218cc663f3b49e9@mail.gmail.com> <20081209134636.GA1926@elte.hu> <18750.61143.101922.949701@cargo.ozlabs.ibm.com> <87skoxc6qo.fsf@basil.nowhere.org> <18751.18735.539555.111549@drongo.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18751.18735.539555.111549@drongo.ozlabs.ibm.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 25 On Wed, Dec 10, 2008 at 03:44:31PM +1100, Paul Mackerras wrote: > Andi Kleen writes: > > > When you say counting you should also include "event ring buffers with > > metadata", like PEBS on Intel x86. > > I'm not familiar with PEBS. Maybe it's something different again, > neither sampling nor counting, but a third thing? Yes it's a third thing. A CPU controlled ring event buffer. See Stephane's description. There's also some crosses, e.g. AMD's IBS (which is essentially a counter + some additional registers to give more details about the interrupted instruction) -Andi -- ak@linux.intel.com -- 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/