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

Support updating bpf links #210

Closed
insearchoflosttime opened this issue Mar 16, 2022 · 1 comment
Closed

Support updating bpf links #210

insearchoflosttime opened this issue Mar 16, 2022 · 1 comment

Comments

@insearchoflosttime
Copy link
Collaborator

To update a link in libbpf, there is this API:

LIBBPF_API int bpf_link_update(int link_fd, int new_prog_fd,
			       const struct bpf_link_update_opts *opts);

https://github.com/libbpf/libbpf/blob/3591deb9bc6b0848721f831790b78ae0a593b4c5/src/bpf.h#L434

In libbpf-rs, we should support this operation as well

@insearchoflosttime insearchoflosttime added this to the Feature parity with libbpf-1.0 milestone Mar 16, 2022
@danielocfb danielocfb removed this from the Feature parity with libbpf-1.0 milestone Jul 25, 2024
@danielocfb
Copy link
Collaborator

Let's add this once a use case has been identified.

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

No branches or pull requests

2 participants