diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-03-15 14:37:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-27 11:36:35 -0700 |
commit | 144a4ea712041e818df28a2bea81431143164da8 (patch) | |
tree | 1eedc1d72ba3f611206d7fadb80faa11a4c962d0 /kernel/rtmutex.c | |
parent | 0b62527f8258ce04782469e4521b43d4dd5fc5f0 (diff) |
perf: Fix tear-down of inherited group events
commit 38b435b16c36b0d863efcf3f07b34a6fac9873fd upstream.
When destroying inherited events, we need to destroy groups too,
otherwise the event iteration in perf_event_exit_task_context() will
miss group siblings and we leak events with all the consequences.
Reported-and-tested-by: Vince Weaver <vweaver1@eecs.utk.edu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1300196470.2203.61.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/rtmutex.c')
0 files changed, 0 insertions, 0 deletions