Skip to content

can't unwind through trampoline created by uprobe #19

@lchannng

Description

@lchannng

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions