Is bpf2go related to the version of libbpf? #844
-
I found bpf_map_def has been removed from libbpf/src/bpf_helpers.h in v1.0.1. Is bpf2go just a compiler? Can it work with any version of libbpf? |
Beta Was this translation helpful? Give feedback.
Answered by
brycekahle
Nov 7, 2022
Replies: 1 comment 1 reply
-
You wouldn't use both |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
binw666
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You wouldn't use both
bpf2go
andlibbpf
.bpf2go
is designed to work with this library, which is an eBPF loader.libbpf
is also a loader, and has a feature somewhat likebpf2go
called skeletons.