Re: [PATCH] perf: Cleanup user's child events
From: Peter Zijlstra
Date: Fri Jan 15 2016 - 07:55:03 EST
On Fri, Jan 15, 2016 at 01:22:15PM +0200, Alexander Shishkin wrote:
> Events are leaking in the following scenario: user creates an event for
> task A, task A forks into B (producing a child event), user closes the
> original event. Both original user's event and its child will remain for
> as long as task B is around. In other words, we don't clean up children
> when we try to release the parent.
The orphan stuff should clear those up, no?