Re: [PATCH v4 00/39] unwind, perf: sframe user space unwinding

From: Steven Rostedt
Date: Wed Jan 22 2025 - 11:14:07 EST


On Tue, 21 Jan 2025 18:30:52 -0800
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> The interface is similar to {task,irq}_work. The caller owns an
> unwind_work struct:
>
> struct unwind_work {
> struct callback_head work;
> unwind_callback_t func;
> int pending;
> };
>
> For perf, struct unwind_work is embedded in struct perf_event. For
> ftrace maybe it would live in task_struct?

Hmm, this is going to be difficult, as I don't want to add more to a task
struct as it's already too bloated as is. I'll have to think about this a bit.

-- Steve