Code for eBPF things
If you're using Rust Analyzer with VS Code, add the following bit to your workspace settings.json
"rust-analyzer.cargo.buildScripts.overrideCommand": null,
"rust-analyzer.linkedProjects": [
"monitoring/rust-monitor/Cargo.toml"
],
export KERNEL_VERSION=6.2.0-1019
export REDBPF_VMLINUX=/sys/kernel/btf/vmlinux