Peter Zijlstra 2e80a82a49 perf: Dynamic pmu types
Extend the perf_pmu_register() interface to allow for named and
dynamic pmu types.

Because we need to support the existing static types we cannot use
dynamic types for everything, hence provide a type argument.

If we want to enumerate the PMUs they need a name, provide one.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101117222056.259707703@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-12-16 11:36:43 +01:00
..
2009-01-15 16:39:40 -08:00
2008-04-17 10:42:34 -04:00
2009-05-02 15:36:10 -07:00
2009-05-02 15:36:10 -07:00
2009-05-02 15:36:10 -07:00
2008-04-28 08:58:27 -07:00
2010-09-18 23:06:18 -04:00
2010-10-27 18:03:17 -07:00
2010-12-16 11:36:43 +01:00
2010-08-31 22:45:31 -04:00
2010-09-18 23:06:18 -04:00