8000 Add support for split debug symbols · Issue #390 · rbspy/rbspy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support for split debug symbols #390

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

Open
stanhu opened this issue Oct 1, 2024 · 0 comments
Open

Add support for split debug symbols #390

stanhu opened this issue Oct 1, 2024 · 0 comments

Comments

@stanhu
Copy link
stanhu commented Oct 1, 2024

We are trying to profile fluentd, which by default builds a stripped Ruby interpreter with a dbgsym package.

Looking at #282, I see that rbspy supports finding the symbol table within the ruby global symbol table.

I propose that we update rbspy to:

  1. Use the GNU build ID and search /usr/lib/debug/ if the embedded table doesn't exist.
  2. Parse those .debug files and use them for address resolution.
@acj acj added the enhancement label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0