Re: [PATCH v10 06/14] unwind_user/deferred: Add deferred unwinding interface
From: Steven Rostedt
Date: Wed Jun 18 2025 - 11:38:41 EST
On Wed, 18 Jun 2025 11:37:06 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > What about two CPUs managing to request an unwind at exactly the same
> > time?
>
> It's mapped to a task. As long as each timestamp is unique for a task it
> should be fine. As the trace can record the current->pid along with the
> timestamp to map to the unique user space stack trace.
>
> As for resolution, as long as there can't be two system calls back to back
> within the same time stamp. Otherwise, yeah, we have an issue.
I'll add a comment that states this as a constraint.
-- Steve