|
|
|
|
|
by dangisafascist
3261 days ago
|
|
I'm confused why BPF exists in the first place. Can't we just compile kernel modules that hook into the tracing infrastructure? It seems like a webassembly for the kernel but local software has the benefits of knowing the platform it is running on. I.e. Why compile C code to eBPF, when I can just compile to native code directly? I can potentially see it solving a permissions problem, where you want to give unprivileged users in a multi-tenant setup the ability to run hooks in the kernel. Is that actually a common use case? I don't think it is. |
|
This is quite important when you want to run this code in production. You don't want to accidently crash your kernel.