commit | 3bf101ba42a1c89b5afbc7492e7647dae5e18735 | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt@console-pimps.org> | Mon Sep 27 20:22:24 2010 +0100 |
committer | Robert Richter <robert.richter@amd.com> | Mon Oct 11 10:38:13 2010 +0200 |
tree | 2501d57e827b283da1a0240630fe5988d155f07b | |
parent | 4cbe75be5c6ae86bdc7daec864eeb2dfd66f48bb [diff] |
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>