# Re: \[PATCH v13 13/14\] unwind\_user/x86: Enable frame pointer unwinding on x86

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2025-07-11 16:11:47 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2025/07/3131563
- Thread: https://ratatoskr.run/linux-trace-kernel/2025/07/3124621/t.md

```text
On Fri, 11 Jul 2025 09:43:21 +0100
David Laight [ref] wrote:

> On Mon, 07 Jul 2025 21:22:52 -0400
> Steven Rostedt [ref] wrote:
> 
> > From: Josh Poimboeuf <jpoimboe@kernel.org>
> > 
> > Use ARCH_INIT_USER_FP_FRAME to describe how frame pointers are unwound
> > on x86, and enable CONFIG_HAVE_UNWIND_USER_FP accordingly so the
> > unwind_user interfaces can be used.  
> 
> How is that going to work?
> Pretty much all x86 userspace is compiled with bp as a general
> purpose register not a frame pointer.

Which is where this patch set comes in...

  https://lore.kernel.org/linux-trace-kernel/20250701184939.026626626@goodmis.org

-- Steve
```
