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)
commitb79387ef185af2323594920923cecba5753c3817
tree2c6d685794c30859cf3dde7316d02475cf9ad7cb
parent1d9b482e78d3b16f97f85a82849f82db7eed3102
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