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

Steven Rostedt <[email protected]>
Newsgroups org.kernel.vger.linux-toolchains,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users,org.kernel.vger.linux-trace-kernel
Message-ID <[email protected]>
On Tue, 21 Jan 2025 18:30:52 -0800
Josh Poimboeuf <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.