Print the output of a running process (or any of its open fd) like
catp
does, but using eBPF instead of ptrace
.
- Install a rust stable toolchain:
rustup install stable
- Install a rust nightly toolchain:
rustup install nightly
- Install bpf-linker:
cargo install bpf-linker
cargo xtask build-ebpf
cargo build
cargo xtask run -- -p <PID>