-
Notifications
You must be signed in to change notification settings - Fork 286
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: Add loaded_programs() API to list all loaded programs #524
Conversation
✅ Deploy Preview for aya-rs-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
8d8729d
to
cd1a2a2
Compare
cd1a2a2
to
6a54f31
Compare
I went with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few nits otherwise looks good
684ac5f
to
7def65a
Compare
This uses a Programs iterator to yield all loaded bpf programs using bpf_prog_get_next_id. Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
7def65a
to
de4905a
Compare
Nits fixed. Merging |
This uses a Programs iterator to yield all loaded bpf programs using bpf_prog_get_next_id.
Example program here
Signed-off-by: Dave Tucker dave@dtucker.co.uk