-
Notifications
You must be signed in to change notification settings - Fork 315
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
examples/c: Build bpftool submodule in cmake #73
Conversation
BTW, seems like we can remove the Do you think we can remove them in this PR? |
Hello @anakryiko, |
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.
I see this follows the approach for building libbpf so looks sane to me. Please fix the typo and can you also add Signed-off-by: with your full name and email just like libbpf/kernel commits have it? Thanks!
Add bpftool submodule as an ExternalProject to generate bpftool. Because tools/bpftool no longer exists, also update bpftool executable to build/bpftool/bpftool. Signed-off-by: Jacky Yin <[email protected]>
4695db5
to
d5b9c6e
Compare
Thanks for your feedback! |
Thanks! |
lgtm |
Ref: #70.
Because tools/bpftool no longer exists, we need to build bpftool from git submodule and set the correct executable path in cmake variable
BPFOBJECT_BPFTOOL_EXE
.