Re: [PATCH v4 00/39] unwind, perf: sframe user space unwinding
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-01-22 16:13:20
Also in:
linux-perf-users, linux-toolchains, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-01-22 16:13:20
Also in:
linux-perf-users, linux-toolchains, lkml
On Tue, 21 Jan 2025 18:30:52 -0800 Josh Poimboeuf [off-list ref] 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