]> Git Repo - linux.git/commit
perf/core: Verify we have a single perf_hw_context PMU
authorPeter Zijlstra <[email protected]>
Tue, 22 Mar 2016 21:09:18 +0000 (22:09 +0100)
committerIngo Molnar <[email protected]>
Thu, 31 Mar 2016 08:30:41 +0000 (10:30 +0200)
commit26657848502b78474a5f17f9ce2ae6dc8d8d6262
tree8fe05c327ca5f72701709dd25ff4f90bdce43d03
parent07dc900e17a94681877b5797ce62ba97fa170400
perf/core: Verify we have a single perf_hw_context PMU

There should (and can) only be a single PMU for perf_hw_context
events.

This is because of how we schedule events: once a hardware event fails to
schedule (the PMU is 'full') we stop trying to add more. The trivial
'fix' would break the Round-Robin scheduling we do.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/events/core.c
This page took 0.041443 seconds and 4 git commands to generate.