diff options
author | 2011-04-09 21:17:45 +0200 | |
---|---|---|
committer | 2011-05-28 18:01:17 +0200 | |
commit | db24d33e08b88e990991760a44d72006a5dc6102 (patch) | |
tree | a36c4aba0e221e5833b15432971e526959a3aff1 /tools/perf/util/python.c | |
parent | perf: Simplify and fix __perf_install_in_context() (diff) | |
download | wireguard-linux-db24d33e08b88e990991760a44d72006a5dc6102.tar.xz wireguard-linux-db24d33e08b88e990991760a44d72006a5dc6102.zip |
perf: Change and simplify ctx::is_active semantics
Instead of tracking if a context is active or not, track which events
of the context are active. By making it a bitmask of
EVENT_PINNED|EVENT_FLEXIBLE we can simplify some of the scheduling
routines since it can avoid adding events that are already active.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110409192141.930282378@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions