mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
perf_counter: Always schedule all software counters in
Software counters aren't subject to the limitations imposed by the fixed number of hardware counter registers, so there is no reason not to enable them all in __perf_counter_sched_in. Previously we used to break out of the loop when we got to a group that wouldn't fit on the PMU; with this we continue through the list but only schedule in software counters (or groups containing only software counters) from there on. Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
c0d362a832
commit
dd0e6ba22e
1 changed files with 30 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue