Go to file
Alessandro Decina 6d30972fdb ebpf: set debug = 1 to avoid a potential segfault in LLVM
.cargo Add xtask for building ebpf programs
.github/workflows Generate Skeleton Programs for all program types
xtask Add xtask for building ebpf programs
{{project-name}} Switch git urls to aya-rs
{{project-name}}-common Switch git urls to aya-rs
{{project-name}}-ebpf ebpf: set debug = 1 to avoid a potential segfault in LLVM
.gitignore Initial Commit
Cargo.toml Add xtask for building ebpf programs
README.md readme: Fix the cargo run --bin flag
cargo-generate.toml Generate Skeleton Programs for all program types
test.sh Generate Skeleton Programs for all program types

README.md

{{project-name}}

Prerequisites

  1. Install a rust stable toolchain: rustup install stable
  2. Install a rust nightly toolchain: rustup install nightly
  3. 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

Run

cargo run --package {{project-name}} --bin {{project-name}}