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

Strip away debug info not needed by BPF programs (and subprograms used by them) #131

Open
vadorovsky opened this issue Oct 6, 2023 · 0 comments

Comments

@vadorovsky
Copy link
Member

Currently, when we link bitcodes with debug info, even though we fix up it, we don't strip it. That produces a lot of unnecessary DI.

For example, if lto is not used, the debug info of core crate and other dependencies will end up in the BTF too. That makes the BTF relocations and program verification slower. It's also not correct by principle.

Context: https://discord.com/channels/855676609003651072/1026937450624450652/1133054554666180678

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