Matt Fleming 3bf101ba42 perf: Add helper function to return number of counters
The number of counters for the registered pmu is needed in a few places
so provide a helper function that returns this number.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Tested-by: Will Deacon <will.deacon@arm.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Robert Richter <robert.richter@amd.com>
2010-10-11 10:38:13 +02:00
..
2010-05-22 17:12:23 +09:00
2010-06-17 11:31:19 +02:00
2010-01-12 15:22:26 +09:00
2010-04-26 19:08:55 +09:00
2010-06-02 16:31:42 +09:00
2010-04-26 19:08:55 +09:00
2010-04-26 19:08:55 +09:00
2010-07-14 17:14:00 +10:00
2009-10-13 13:32:19 +09:00
2009-09-01 17:38:32 +09:00
2010-04-26 16:08:27 +09:00
2010-02-15 14:49:37 +09:00
2010-01-20 16:42:52 +09:00
2009-03-18 18:57:43 +09:00
2010-07-14 17:14:00 +10:00
2010-01-12 18:42:52 +09:00
2010-02-15 14:49:37 +09:00
2009-03-10 12:55:40 +09:00
2010-03-12 15:52:32 -08:00
2010-01-19 17:00:06 +09:00
2010-01-19 17:00:31 +09:00