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.
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> |
5 months ago | |
---|---|---|
.cargo | 5 months ago | |
.github | 5 months ago | |
xtask | 9 months ago | |
{{project-name}} | 5 months ago | |
{{project-name}}-common | 5 months ago | |
{{project-name}}-ebpf | 5 months ago | |
.gitignore | 7 months ago | |
Cargo.toml | 9 months ago | |
README.md | 9 months ago | |
cargo-generate.toml | 2 years ago | |
pre-script.rhai | 2 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