You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Add "{{project-name}}-ebpf" to workspace. Update various cargo configs
to match main aya repo.
|
1 year ago | |
|---|---|---|
| .cargo | 1 year ago | |
| .github | 1 year ago | |
| xtask | 1 year ago | |
| {{project-name}} | 1 year ago | |
| {{project-name}}-common | 1 year ago | |
| {{project-name}}-ebpf | 1 year ago | |
| .gitignore | 1 year ago | |
| Cargo.toml | 1 year ago | |
| README.md | 1 year ago | |
| cargo-generate.toml | 2 years ago | |
| pre-script.rhai | 3 years ago | |
| test.sh | 1 year ago | |
README.md
{{project-name}}
Prerequisites
- Install bpf-linker:
cargo install bpf-linker
Build eBPF
cargo xtask build-ebpf
To perform a release build you can use the --release flag.
You may also change the target architecture with the --target flag.
Build Userspace
cargo build
Build eBPF and Userspace
cargo xtask build
Run
RUST_LOG=info cargo xtask run