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
Also in
bpf, lkml
Reply to
David Laight, 2025-07-11
On Fri, 11 Jul 2025 09:43:21 +0100
David Laight [off-list ref] wrote:
On Mon, 07 Jul 2025 21:22:52 -0400
Steven Rostedt [off-list ref] wrote:
quoted
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 (local)

-- Steve
Thread (45 messages) 45 messages, 5 authors, last reply 2025-07-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help