Did you know your eBPF-based open-source tool doesn’t need to rely on the user’s kernel having built-in BTF support?
Aqua Security maintains a btfhub-archive repository, which provides BTF files for many popular kernel versions that lack embedded BTF.
By embedding the BTF information directly into your binary, you slightly increase the size—but you massively improve the user experience by reducing setup friction.
Check out my latest post where I walk through how to do this step-by-step: