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

feat(aya): do not load BTF from system in EbpfLoader initialization #1173

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zkonge
Copy link

@zkonge zkonge commented Feb 7, 2025

fix #1172


This change is Reviewable

Copy link

netlify bot commented Feb 7, 2025

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit df57317
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/67a69af5185a2e00087d8045
😎 Deploy Preview https://deploy-preview-1173--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mergify mergify bot added the aya This is about aya (userspace) label Feb 7, 2025
Copy link
Member

@dave-tucker dave-tucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. I'm not sure this is the right fix for the issue you reported.

For the general case, it's better to have BTF to avoid issues with program types not working, failing relocations etc... Especially given how important BTF is these days.

Did you try this: https://docs.aya-rs.dev/aya/struct.ebpfloader#method.btf

Passing in None will disable BTF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aya This is about aya (userspace)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EbpfLoader should not load BTF from sys by default
2 participants