Skip to content
Snippets Groups Projects
Commit 3bf101ba authored by Matt Fleming's avatar Matt Fleming Committed by Robert Richter
Browse files

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: default avatarMatt Fleming <matt@console-pimps.org>
Tested-by: default avatarWill Deacon <will.deacon@arm.com>
Acked-by: default avatarPaul Mundt <lethal@linux-sh.org>
Acked-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent 4cbe75be
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment