linfeng 7c28051e8c chore: update toolchain version to 2024-11-05 (#1031) há 1 semana atrás
..
.cargo fae6e9ade4 feat(ebpf):[WIP] add eBPF support (#948) há 4 semanas atrás
.vscode fae6e9ade4 feat(ebpf):[WIP] add eBPF support (#948) há 4 semanas atrás
syscall_ebpf-common fae6e9ade4 feat(ebpf):[WIP] add eBPF support (#948) há 4 semanas atrás
syscall_ebpf-ebpf 7c28051e8c chore: update toolchain version to 2024-11-05 (#1031) há 1 semana atrás
xtask fae6e9ade4 feat(ebpf):[WIP] add eBPF support (#948) há 4 semanas atrás
.gitignore fae6e9ade4 feat(ebpf):[WIP] add eBPF support (#948) há 4 semanas atrás
Cargo.toml fae6e9ade4 feat(ebpf):[WIP] add eBPF support (#948) há 4 semanas atrás
README.md fae6e9ade4 feat(ebpf):[WIP] add eBPF support (#948) há 4 semanas atrás

README.md

syscall_ebpf

Prerequisites

  1. 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