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

Make a pre-made vmlinux.h available in tree #242

Closed
2 tasks done
geyslan opened this issue Sep 12, 2022 · 3 comments · Fixed by #288
Closed
2 tasks done

Make a pre-made vmlinux.h available in tree #242

geyslan opened this issue Sep 12, 2022 · 3 comments · Fixed by #288
Assignees
Labels
feature New feature or request

Comments

@geyslan
Copy link
Member

geyslan commented Sep 12, 2022

  • Remove libbpfgo Makefile bpftool requirement.
  • Add caped vmlinux.h for selftests.

Originated from: #239 (comment)
Related: #177 #254

@geyslan geyslan added the feature New feature or request label Sep 12, 2022
@grantseltzer grantseltzer added the good first issue Good for newcomers label Oct 11, 2022
@ShubhamPalriwala
Copy link

Hey, so for this. I should run bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h locally and generate the vmlinux.h and then add it to our root directory as vmlinux.h and add a flag in the makefile if one wants to specify a custom vmlinux.h right?

Can I take this up?

@ShubhamPalriwala
Copy link

@geyslan @grantseltzer Can you let me know if the above approach is good to go? Or am I missing something?

@geyslan
Copy link
Member Author

geyslan commented Dec 12, 2022

@ShubhamPalriwala sorry for the delay. I think it's a simple task as described in the head comment. You can for sure start a draft PR with your proposal. Thanks again.

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

Successfully merging a pull request may close this issue.

3 participants