Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't unwind through trampoline created by uprobe #19

Open
lchannng opened this issue Oct 26, 2022 · 0 comments
Open

can't unwind through trampoline created by uprobe #19

lchannng opened this issue Oct 26, 2022 · 0 comments

Comments

@lchannng
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant