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)
commit96c21a460a37880abfbc8445d5b098dbab958a29
tree57b6ae2ecb8713b720fb5ee86ebbf3d1b2638856
parent050735b08ca8a016bbace4445fa025b88fee770b
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