git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee643c4
)
perf: Fix tear-down of inherited group events
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Tue, 15 Mar 2011 13:37:10 +0000
(14:37 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 16 Mar 2011 13:04:14 +0000
(14:04 +0100)
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>
Cc: <stable@kernel.org> # .35+
LKML-Reference: <
1300196470
.2203.61.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c
patch
|
blob
|
history
diff --cc
kernel/perf_event.c
Simple merge