Re: [PATCH v3 00/19] unwind, perf: sframe user space unwinding

From: Peter Zijlstra
Date: Tue Oct 29 2024 - 10:09:14 EST


On Mon, Oct 28, 2024 at 02:47:27PM -0700, Josh Poimboeuf wrote:

> - Is the perf_event lifetime managed correctly or do we need to do
> something to ensure it exists in unwind_user_task_work()?

You probably want a sync/cancel somewhere near the start of
_free_event().