]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Fix enable_on_exec for sibling events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 22 Nov 2011 10:25:43 +0000 (11:25 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 07:34:01 +0000 (08:34 +0100)
commita714f51f43c6d024ed198db5e51c038887f8135f
tree2c6d685794c30859cf3dde7316d02475cf9ad7cb
parent3789235265c9f6dbcbb8e4a013f28d706d0bcb41
perf: Fix enable_on_exec for sibling events

Deng-Cheng Zhu reported that sibling events that were created disabled
with enable_on_exec would never get enabled. Iterate all events
instead of the group lists.

Reported-by: Deng-Cheng Zhu <dczhu@mips.com>
Tested-by: Deng-Cheng Zhu <dczhu@mips.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1322048382.14799.41.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c