Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756635AbZFVMBQ (ORCPT ); Mon, 22 Jun 2009 08:01:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752484AbZFVMBB (ORCPT ); Mon, 22 Jun 2009 08:01:01 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:43592 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751449AbZFVMBA (ORCPT ); Mon, 22 Jun 2009 08:01:00 -0400 Date: Mon, 22 Jun 2009 14:00:18 +0200 From: Ingo Molnar To: eranian@gmail.com Cc: LKML , Andrew Morton , Thomas Gleixner , Robert Richter , Peter Zijlstra , Paul Mackerras , Andi Kleen , Maynard Johnson , Carl Love , Corey J Ashford , Philip Mucci , Dan Terpstra , perfmon2-devel Subject: Re: IV.3 - AMD IBS Message-ID: <20090622120018.GR24366@elte.hu> References: <7c86c4470906161042p7fefdb59y10f8ef4275793f0e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7c86c4470906161042p7fefdb59y10f8ef4275793f0e@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=none autolearn=no SpamAssassin version=3.2.5 _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1087 Lines: 28 > 3/ AMD IBS > > How is AMD IBS going to be implemented? > > IBS has two separate sets of registers. One to capture fetch > related data and another one to capture instruction execution > data. For each, there is one config register but multiple data > registers. In each mode, there is a specific sampling period and > IBS can interrupt. > > It looks like you could define two pseudo events or event types > and then define a new record_format and read_format. That formats > would only be valid for an IBS event. > > Is that how you intend to support IBS? That is indeed one of the ways we thought of, not really nice, but then, IBS is really weird, what were those AMD engineers thinking :-) The point is - weird hardware gets expressed as a ... weird feature under perfcounters too. Not all hardware weirdnesses can be engineered away. -- 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/