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

Program unload API #264

Merged
merged 9 commits into from Jun 3, 2022
Merged

Conversation

davibe
Copy link
Contributor

@davibe davibe commented May 19, 2022

Add API to unload programs

@netlify
Copy link

netlify bot commented May 19, 2022

Deploy Preview for aya-rs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit acbf98e
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs/deploys/629922d344867200081d5a5f
😎 Deploy Preview https://deploy-preview-264--aya-rs.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 settings.

@davibe davibe force-pushed the feature/programs-unload branch 7 times, most recently from 1827f7a to 1a06f76 Compare May 31, 2022 19:32
@davibe davibe marked this pull request as ready for review May 31, 2022 19:53
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 this @davibe. I've left a few comments but I think this is almost there.

aya/src/programs/mod.rs Outdated Show resolved Hide resolved
test/cases/010_load/030_unload/test.sh Outdated Show resolved Hide resolved
aya/src/programs/mod.rs Outdated Show resolved Hide resolved
aya/src/programs/mod.rs Outdated Show resolved Hide resolved
test/cases/010_load/030_unload/test.ebpf.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@alessandrod alessandrod left a comment

Choose a reason for hiding this comment

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

Thanks! See comments

aya/src/programs/mod.rs Outdated Show resolved Hide resolved
aya/src/programs/mod.rs Outdated Show resolved Hide resolved
test/cases/010_load/030_unload/test.ebpf.rs Outdated Show resolved Hide resolved
test/cases/010_load/030_unload/test.rs Outdated Show resolved Hide resolved
test/cases/010_load/030_unload/test.rs Show resolved Hide resolved
aya/src/programs/mod.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@alessandrod alessandrod left a comment

Choose a reason for hiding this comment

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

Minor nit left

aya/src/programs/mod.rs Outdated Show resolved Hide resolved
@alessandrod
Copy link
Collaborator

@dave-tucker are you happy with this now? If so imma squash and merge

@dave-tucker
Copy link
Member

Yep LGTM

@alessandrod alessandrod merged commit e2685c9 into aya-rs:main Jun 3, 2022
@davibe davibe deleted the feature/programs-unload branch June 3, 2022 08:49
davibe added a commit to davibe/aya that referenced this pull request Jun 3, 2022
aya: add `program.unload()` API
@dave-tucker dave-tucker added feature A PR that implements a new feature or enhancement aya This is about aya (userspace) labels Jun 6, 2022
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) feature A PR that implements a new feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants