Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.cargo/ | H | - | - | 3 | 2 | |
.vscode/ | H | - | - | 4 | 3 | |
syscall_ebpf-common/ | H | - | - | 17 | 12 | |
syscall_ebpf-ebpf/ | H | - | - | 113 | 90 | |
xtask/ | H | - | - | 212 | 156 | |
.gitignore | H A D | 25-Oct-2024 | 204 | 10 | 7 | |
Cargo.toml | H A D | 25-Oct-2024 | 70 | 4 | 3 | |
README.md | H A D | 25-Oct-2024 | 423 | 33 | 21 |
README.md
1# syscall_ebpf 2 3## Prerequisites 4 51. Install bpf-linker: `cargo install bpf-linker` 6 7## Build eBPF 8 9```bash 10cargo xtask build-ebpf 11``` 12 13To perform a release build you can use the `--release` flag. 14You may also change the target architecture with the `--target` flag. 15 16## Build Userspace 17 18```bash 19cargo build 20``` 21 22## Build eBPF and Userspace 23 24```bash 25cargo xtask build 26``` 27 28## Run 29 30```bash 31RUST_LOG=info cargo xtask run 32``` 33