-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpfd integration: allow programs to generate btf
This commit makes the necessary changes which allow the bpf programs to be build with btf. It requires: - The `fix-di` branch of bpf-linker - A patched version of aya (https://github.com/aya-rs/aya/tree/fix-verifier-blixt) - A patched version of bpfd (https://github.com/bpfd-dev/bpfd/tree/blixt-custom-build) Additionally it adds a check in the loader program to check if the blixt programs are installed by bpfd. Signed-off-by: astoycos <[email protected]>
- Loading branch information
Showing
7 changed files
with
144 additions
and
133 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
[alias] | ||
xtask = "run --package xtask --" | ||
xtask = "run --package xtask --" | ||
|
||
## Needed to build blixt's programs with BTF + custom bpf-linker build. | ||
[build] | ||
rustflags = ["-C", "debuginfo=2"] |
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[build] | ||
target-dir = "../target" | ||
target = "bpfel-unknown-none" | ||
rustflags = ["-C", "save-temps"] | ||
|
||
[unstable] | ||
build-std = ["core"] |
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 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
Oops, something went wrong.