]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Fix exit() vs event-groups
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 11 May 2010 14:19:10 +0000 (16:19 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 11 May 2010 15:08:24 +0000 (17:08 +0200)
commitede2566d481d7f0230d9d150ba6f1666e0bf0e73
tree57b6ae2ecb8713b720fb5ee86ebbf3d1b2638856
parent15b09c959203f3a04356a57bea62b7b51aea83ac
perf: Fix exit() vs event-groups

Corey reported that the value scale times of group siblings are not
updated when the monitored task dies.

The problem appears to be that we only update the group leader's
time values, fix it by updating the whole group.

Reported-by: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: <stable@kernel.org> # .34.x
LKML-Reference: <1273588935.1810.6.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c