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
> 
> If it's any help I pushed the bpf/selftest for that in here:
>   
> https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/log/?h=stacktrace_test
> 
> just execute:
>   # test_progs -t stacktrace_map/kretprobe_multi

Hmm, curious. as far as we are using fgraph, stacktrace should work.
May this happen if function-graph tracer is enabled too?

Thank you,

> 
> thanks,
> jirka


-- 
Masami Hiramatsu (Google) <[email protected]>

Reply via email to