Re: [RFC][PATCH 2/9] perf: core, remove hw_perf_event_init

From: Ingo Molnar
Date: Tue May 11 2010 - 02:52:17 EST



* Lin Ming <ming.m.lin@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/