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

[Feature Request]: Enable CONFIG_DEBUG_INFO & CONFIG_DEBUG_INFO_BTF #7270

Open
1 task done
Integral-Tech opened this issue Sep 17, 2024 · 3 comments
Open
1 task done
Assignees
Labels
Feature Request Feature suggestion

Comments

@Integral-Tech
Copy link
Sponsor

Integral-Tech commented Sep 17, 2024

Which feature would you like to have?

It would be better if armbian kernels can enable CONFIG_DEBUG_INFO & CONFIG_DEBUG_INFO_BTF, as CONFIG_DEBUG_INFO=y & CONFIG_DEBUG_INFO_BTF=y are indispensable for dae (an eBPF-based Linux high-performance transparent proxy solution).

Funding

Copy link

github-actions bot commented Sep 17, 2024

Jira ticket: AR-2496

@rpardini
Copy link
Member

This is in the works for a few months now. I've a working-ish version on my branch that needs some cleanup; @Integral-Tech you might be able to pick it into your own userpatches/config.

Enabling full BTF debug info (such as it's CO-RE compatible) puts about 2x more load on the kernel build servers and increases the build time by around 50%, not to mention a small increase in the size of the kernel packages and a huge (2x-3x) increase in disk consumption for building kernels.

As I've been unable to find workarounds for those increases, and we've been unable to increase build server capacity, I hesitate to send the PR.

@igorpecovnik what do you think?

@igorpecovnik
Copy link
Member

That means cca. + additional 256 CPU cores to keep the same compile time and storage upgrades on some machines that are on the edge (cca. half of them). If bulk of those expenses are not on us, I don't mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature suggestion
Development

No branches or pull requests

3 participants