]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:21:55 +0000 (11:21 -0700)
commit81bec1f57bc4d87c74a4f7643a9bf6e57878b44f
treee1ea670f3f7d9e71241520ef26ba9a113aaa27c4
parentecd8a95f7e526ea1dd8d8031b572144e9a78c9aa
perf: Fix exit() vs event-groups

commit 96c21a460a37880abfbc8445d5b098dbab958a29 upstream.

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>
LKML-Reference: <1273588935.1810.6.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/perf_event.c