- DISK FOOTPRINT
- 300+ MB
- STARTUP CPU
- heavy spike
- HEADERS
- required
- SECURITY
- compiler on prod
- compile / emit relocs
- BTF offset patch
- load verified ELF
Early tools like BCC solved struct drift by shipping Clang/LLVM and kernel headers onto every host, compiling C code into eBPF at startup against the local headers.
That is great for laptop debugging and terrible for production NF servers: hundreds of megabytes of image bloat, startup CPU spikes, and compilers sitting on hardened telecom nodes.
Production pain with BCC
- Minimal 15 MB daemon → 350 MB LLVM container image
- Instant agent start → multi-second Clang CPU spike
- Self-contained binary → breaks if kernel-devel headers missing