-
-
Notifications
You must be signed in to change notification settings - Fork 812
Offline symbol resolving improvements (parallel image resolving, new fast libdw based resolving backend) #1026
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
base: master
Are you sure you want to change the base?
Conversation
…images in parallel) - Add a few different offline symbol resolving backend implementations for linux (libdw being the default, fastest and LGPL) - Add option to exclude certain images from being resolved
@Lectem : this is the PR I was mentioning here: #1024 (comment) @wolfpld : what would be the right way to add the dependency to "libdw"? As it's significantly faster than addr2line, I would like to make it the default offline resolver in the update util. I left the backtrace implementation for reference as @Lectem mentioned he wanted to attempt implementing it, I however never succeeded in getting it to work for all .so's maybe there is a way. Still I think libdw is the best option at the cost of this extra dependency. |
Interesting, so from what I saw, we could use the If we do integrate libDw and that it supports build-id checks and we can do file lookup with debuginfod, then there'd be less/little need for modifying libbacktrace. (Except that libbacktrace supports more formats, could be used on platforms other than Linux, and doesn't require installing a package). |
There are changes in Tracy libbacktrace that are required for inline functions to be properly reported. |
…y default. Add some resolver type indexing and reporting to update command line options.
I've made the new back-ends optional so it passes on CI and still allows users to enable them if they want. Although I would like the libdw backend to the the default, unfortunately I don't see how I would do that with CPM and pulling and building elfutils to do this. |
…parallel_and_new_backends
Uh oh!
There was an error while loading. Please reload this page.