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

Steven Rostedt
2025-01-22T16:13:20Z

On Tue, 21 Jan 2025 18:30:52 -0800
Josh Poimboeuf <jpoimboe@kernel.org> 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