The eBPF (Extended Berkeley Packet Filter) language is a low-level assembly-like language that is specifically designed for writing programs that can be loaded into the Linux kernel. These programs are typically used for networking, security, and observability tasks.
eBPF has its own domain-specific language (DSL), following are some information about it.
-
Low-Level: The language is closer to assembly than to high-level languages like C.
-
Limited Instructions: eBPF has a limited set of instructions to ensure that programs are safe to run in the kernel space.