On Mon, Oct 13, 2025 at 01:10:55PM -0400, Steven Rostedt wrote: > On Wed, 8 Oct 2025 23:08:26 +0200 > Jiri Olsa <[email protected]> wrote: > > > hi, > > I'm getting no stacktrace from bpf program attached on kretprobe.multi probe > > (which means on top of return fprobe) on x86. > > > > I think we need some kind of treatment we do for rethook, AFAICS the ORC > > unwind > > stops on return_to_handler, because the stack and the function itself are > > not > > adjusted for unwind_recover_ret_addr call > > Hmm, we do have a way to retrieve the actual return caller from a location > for return_to_handler: > > See kernel/trace/fgraph.c: ftrace_graph_get_ret_stack() > > Hmm, I think the x86 ORC unwinder needs to use this.
I'm confused, is that not what ftrace_graph_ret_addr() already does? -- Josh
