From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757194Ab0ETUI6 (ORCPT ); Thu, 20 May 2010 16:08:58 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:44626 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752886Ab0ETUI5 (ORCPT ); Thu, 20 May 2010 16:08:57 -0400 Subject: Re: [RFC][PATCH v2 11/11] perf top: demo of how to use the sysfs interface From: Peter Zijlstra To: Corey Ashford Cc: Lin Ming , Ingo Molnar , Frederic Weisbecker , Paul Mundt , "eranian@gmail.com" , "Gary.Mohr@Bull.com" , "arjan@linux.intel.com" , "Zhang, Yanmin" , Paul Mackerras , "David S. Miller" , Russell King , Arnaldo Carvalho de Melo , Will Deacon , Maynard Johnson , Carl Love , "greg@kroah.com" , Kay Sievers , lkml In-Reply-To: <4BF4915B.10104@linux.vnet.ibm.com> References: <1274233792.3036.90.camel@localhost> <4BF42B6F.6000009@linux.vnet.ibm.com> <1274318249.3603.135.camel@minggr.sh.intel.com> <4BF4915B.10104@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 20 May 2010 22:08:46 +0200 Message-ID: <1274386126.1674.1637.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2010-05-19 at 18:33 -0700, Corey Ashford wrote: > > We also need to take into account event "attributes" - other data that > is needed to configure a specific event. For example, think about a > memory controller which has a PMU can count events in a particular > memory range; we need to be able to supply the memory range somehow, That's that perf_event_attr is for.