- Install a rust stable toolchain:
rustup install stable - Install a rust nightly toolchain:
rustup install nightly - Install rust src
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu - Install bpf-linker:
cargo install bpf-linker
cargo xtask build-ebpfTo perform a release build you can use the --release flag.
You may also change the target architecture with the --target flag
cargo buildnpm run watchflamegraph --root -- target/release/tail2Error: "failed to create map"
Solution: ulimit -l unlimited
print type sizes:
cargo rustc --features aarch64 -- -Zprint-type-sizesTODO: