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

aya: Ignore embedded BTF error if not truely required #584

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

marysaka
Copy link
Contributor

This fix BpfLoader::load logic by following what libbpf does.

Required for Debian 10 support.

@netlify
Copy link

netlify bot commented Apr 19, 2023

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 74b5468
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/64b0fc887d93e300087d04ff
😎 Deploy Preview https://deploy-preview-584--aya-rs-docs.netlify.app/user/src/aya/bpf.rs
📱 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.

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.

LGTM - we can always add more cases that require BTF in a follow up.

aya-obj/src/btf/btf.rs Outdated Show resolved Hide resolved
@alessandrod alessandrod self-requested a review May 27, 2023 03:47
aya-obj/src/obj.rs Outdated Show resolved Hide resolved
aya-obj/src/btf/btf.rs Outdated Show resolved Hide resolved
aya/src/bpf.rs Outdated Show resolved Hide resolved
aya/src/bpf.rs Outdated Show resolved Hide resolved
aya/src/bpf.rs Outdated Show resolved Hide resolved
aya/src/bpf.rs Outdated Show resolved Hide resolved
This allows fallback to BTF manual relocation when BTF loading fail when not truely required.
@alessandrod alessandrod merged commit 0766e70 into aya-rs:main Jul 14, 2023
15 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants