Re: [PATCH v7 01/17] unwind_user: Add user space unwinding API
From: Josh Poimboeuf
Date: Sun May 04 2025 - 13:54:14 EST
On Sun, May 04, 2025 at 12:43:30PM -0400, Steven Rostedt wrote:
> On Sun, 4 May 2025 11:30:32 +0200
> Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> > > +struct unwind_user_state {
> > > + unsigned long ip;
> > > + unsigned long sp;
> > > + unsigned long fp;
> > > + enum unwind_user_type type;
> > > + bool done;
> > > +};
> >
> > Will any of these types be visible to tooling via ABIs?
>
> Not that I'm aware of. Josh can confirm. Josh?
>
> With the exception of BTF (which exposes pretty much all structures), I
> believe this is completely internal for the generic code of the unwinder.
Correct, these types are strictly internal to the kernel.
--
Josh