perf: Add helper function to return number of counters
authorMatt Fleming <matt@console-pimps.org>
Mon, 27 Sep 2010 19:22:24 +0000 (20:22 +0100)
committerRobert Richter <robert.richter@amd.com>
Mon, 11 Oct 2010 08:38:13 +0000 (10:38 +0200)
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>

No differences found