Hi,
I'm writing a eBPF-based profiler for C++ and Lua script recently, I unwind stacks in BPF similar to what cargo-trace does.
I found that stask frames always break when rip goes into address range of uprobes, because no unwind rules for uprobe trampoline in dwarf.
7ffdb018c000-7ffdb018e000 r-xp 00000000 00:00 0 [vdso]
7fffffffe000-7ffffffff000 --xp 00000000 00:00 0 [uprobes]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]
I have no idea how to unwind through it. Any suggestions?