Re: [PATCH v13 00/18] unwind_deferred: Implement sframe handling

From
Steven Rostedt <rostedt@kernel.org>
Date
2026-02-05 18:53:39
Also in
bpf, linux-mm, lkml
Reply to
Namhyung Kim, 2026-02-05
On Thu, 5 Feb 2026 10:26:10 -0800
Namhyung Kim [off-list ref] wrote:
quoted
Namhyung Kim's related perf tools deferred callchain support can be used
for testing ("perf record --call-graph fp,defer" and "perf report/script").  
Is it possible for users to choose the unwinder - frame pointer or
SFrame at runtime?  I feel like the option should be
"--call-graph sframe,defer" or just "--call-graph sframe" if it always
uses deferred unwinding.
Currently no, and I'm not sure we want that do we? The idea is to use the
best option that is available. Why use frame pointers if sframe is
available and it's being called with defer?

If there's no defer, then sframes are not available, so it defaults to the
best option available (which will likely be frame pointers).

-- Steve
Thread (29 messages) 29 messages, 5 authors, last reply 2026-04-23
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