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.
9e1c761d8d
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> |
4 years ago | |
---|---|---|
{{project-name}} | 4 years ago | |
{{project-name}}-common | 4 years ago | |
{{project-name}}-ebpf | 4 years ago | |
.gitignore | 4 years ago | |
Cargo.toml | 4 years ago | |
README.md | 4 years ago |
README.md
{{project-name}}
Prerequisites
- Install a rust stable toolchain:
rustup install stable
- Install a rust nightly toolchain:
rustup install nightly
- Install bpf-linker:
cargo install bpf-linker
Build eBPF
pushd {{project-name}}-ebpf
cargo +nightly build
popd
Build Userspace
cargo build
Run
cargo run --package {{project-name}} -bin {{project-name}}