I want to try out eBPF tracing in Linux. I really do.
Last three times I tried to install bcc/bpftrace on my Debian boxes, I failed to do so. The situation has not changed for over a year. I'm not the only one:
I have ran ebpf on ubuntu, so not sure what the difference is with Debian. I will note that clang 3.7 is fairly old at this point, I have started building a more recent llvm+clang (7.0.0 stable) myself instead of relying on the installed package, then building bcc against that. You might try that route, although llvm takes an eternity to build.
> You might try that route, although llvm takes an eternity to build.
You don’t need to build it from source yourself. The LLVM people build and host packages for Debian and Ubuntu in package repos that anyone can install from.
Ah, true. I should note I build a statically linked llvm so I can deploy my project on different versions. The pre-built llvm should work for most people.
Last three times I tried to install bcc/bpftrace on my Debian boxes, I failed to do so. The situation has not changed for over a year. I'm not the only one:
https://github.com/iovisor/bcc/issues/678
https://github.com/iovisor/bcc/issues/1434
https://github.com/iovisor/bcc/issues/1985