-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: Use vmlinux.h for current architecture
In order to compile the BPF byte code the examples need vmlinux.h to be available. This header is vendored alongside the examples, but it is specific to x86. That causes issues once said examples are compiled for any other architecture. This change fixes this problem by vendoring vmlinux.h for more architectures (copied from libbpf-bootstrap, where we maintain such a set of header files already). It also adjusts all examples to pick the appropriate header file for the architecture currently being targeted. Fixes: #615 Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information
1 parent
59b482a
commit beff188
Showing
23 changed files
with
845,234 additions
and
103,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.