rustup install stable
rustup install nightly
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
cargo install bpf-linker
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
cargo build
npm run watch
flamegraph --root -- target/release/tail2
Error: "failed to create map"
Solution: ulimit -l unlimited
print type sizes:
cargo rustc --features aarch64 -- -Zprint-type-sizes
TODO: