-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bpf: remove unused GetProgNextID, GetProgFDByID and GetProgInfoByFD #10187
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
Conversation
test-me-please |
I'm not sure we can/want to remove those. These functions were added in #3899 to be used by a separate project (https://github.com/genuinetools/bpfps). |
Do we guarantee API stability for non-Cilium projects? It seems
|
Ideally these functions should probably be added to |
@aanm ^^? |
test-me-please |
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.
@tklauser The whole file pkg/bpf/prog_linux.go
can be removed since its not used anywhere.
I don't see how we could enforce this for all the code base. We have |
97bdbfb
to
73ad53f
Compare
test-me-please |
@tklauser needs rebase |
These are not used by Cilium. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
73ad53f
to
45e5c46
Compare
test-me-please failed with known tls flake |
These are not used by Cilium. If they'd be needed in the future they
should be added to github.com/cilium/ebpf
Signed-off-by: Tobias Klauser tklauser@distanz.ch
This change is