From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933205Ab0EKGwP (ORCPT ); Tue, 11 May 2010 02:52:15 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:40936 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933045Ab0EKGwM (ORCPT ); Tue, 11 May 2010 02:52:12 -0400 Date: Tue, 11 May 2010 08:51:31 +0200 From: Ingo Molnar To: Lin Ming Cc: Peter Zijlstra , Frederic Weisbecker , "eranian@gmail.com" , "Gary.Mohr@Bull.com" , Corey Ashford , "arjan@linux.intel.com" , "Zhang, Yanmin" , Paul Mackerras , "David S. Miller" , Russell King , Paul Mundt , lkml Subject: Re: [RFC][PATCH 2/9] perf: core, remove hw_perf_event_init Message-ID: <20100511065131.GA31863@elte.hu> References: <1273483595.15998.56.camel@minggr.sh.intel.com> <1273484430.5605.3334.camel@twins> <1273486670.15998.80.camel@minggr.sh.intel.com> <1273486769.5605.3343.camel@twins> <20100510122728.GB5563@nowhere> <1273496054.5605.3400.camel@twins> <20100510230911.GB5895@nowhere> <1273559935.5605.3418.camel@twins> <1273560280.30322.12.camel@minggr.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1273560280.30322.12.camel@minggr.sh.intel.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Lin Ming wrote: > On Tue, 2010-05-11 at 14:38 +0800, Peter Zijlstra wrote: > > On Tue, 2010-05-11 at 01:09 +0200, Frederic Weisbecker wrote: > > > > > Which module do you have in mind that could register a pmu? > > > And I don't understand the problem with pci-hotplug. > > > > Well, the DRM drivers for one, but basically the trend is for every > > aspect of the machine to include PMUs of some form, this includes bus > > bridges and fancy devices. > > So the concept of "PMU" is really broadened here? > Not just only the performance monitoring hardware in CPU? We _really_ dont want to call it a 'PMU' but 'events coming from an event source'. The reason is that a PMU is an existing term that is quite attached to a CPU - while many hardware events come not from a PMU. Interrupts, error conditions, hotplug events, etc. etc. Furthermore, the name 'PMU' is even less correct for software events. So lets stick with 'events' and with some container that originates them. (event_source) Ok? Ingo