Re: [PATCH] perf_counter: Always schedule all software counters in

From: Ingo Molnar
Date: Mon Jan 12 2009 - 04:15:22 EST



* Paul Mackerras <paulus@xxxxxxxxx> wrote:

> 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.

yeah, makes sense.

> Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>
> ---
> This is also available in my perfcounters git tree (master branch) at
> git://git.kernel.org/pub/scm/linux/kernel/git/paulus/perfcounters.git

Pulled into tip/perfcounters/core, thanks Paul!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/