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

Example linked in the README doesn't exist #63

Open
chibby0ne opened this issue Jan 20, 2023 · 2 comments
Open

Example linked in the README doesn't exist #63

chibby0ne opened this issue Jan 20, 2023 · 2 comments

Comments

@chibby0ne
Copy link

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.

@chibby0ne
Copy link
Author

chibby0ne commented Jan 20, 2023

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

@rafaeldtinoco
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants