I’m following Brendan Gregg’s performance-related content for years now. I started when he was still in Joyent, later on I bought his Systems Performance book and I get back to it whenever I’m doing any profiling. Now I follow closely all of the latest work he’s doing on BPF front. There’s a small problem though. On the dependency tree of production-grade systems, I’ve got the following:
- stable OS (Debian 10 “Buster” or Ubuntu 18.04 “Bionic Beaver”)
- latest kernel (5.0+)
- latest tracing tools (BCC & bpftrace)
Two first are easy — both Debian and Ubuntu are now providing ways for having relatively new kernel up and running — former with buster-backports1 and latter with HWE.2 The third one becomes a small hassle, at least in Ubuntu world.
bpftrace is currently not available for bionic at all. There’s no technical limitation here — it’s just the package was never built for it.3 I decided to backport it then.