Example linked in the README doesn't exist
chibby0ne opened this issue · 2 comments
The example linked in the README in this section:
How can I use it ?
This is a code example of how you should use BTFhub to add support to legacy kernels to your eBPF project.
which links to https://github.com/aquasecurity/btfhub/blob/main/example doesn't exist anymore.
I'd suggest we add back the example since it would help with the adoption of btfhub.
Oh I just realized from the next links in that section that they are linking to a specific commit where both examples in C and Go exist.
https://github.com/aquasecurity/btfhub/tree/26ec6014bd7340c3894f486db57a1ef0a712a3b0/example
Not sure why this was deleted but could certainly help just linking to it
It was deleted and the documentation is outdated. I'll fix it soon. I'll re-add simple examples on how to use btfhub. They were also outdated due to libbpf being bumped to 1.0. Thanks for the bug!