summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-03-15 14:37:10 +0100
committerIngo Molnar <mingo@elte.hu>2011-03-16 14:04:14 +0100
commit38b435b16c36b0d863efcf3f07b34a6fac9873fd (patch)
tree017a36f9883767175f8018f43fac937a9fc22a24 /tools/perf
parentperf: Reorder & optimize perf_event_context to remove alignment padding on 64... (diff)
downloadlinux-38b435b16c36b0d863efcf3f07b34a6fac9873fd.tar.xz
linux-38b435b16c36b0d863efcf3f07b34a6fac9873fd.zip
perf: Fix tear-down of inherited group events
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>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions