Every Function Is a Hook
Part 9 of a series on eBPF: kprobes, kretprobes, tracepoints, raw tracepoints, fentry and fexit, kprobe-multi, uprobes and USDT, all attached to the same call on Linux 6.2 and timed against each other; what each one does …
Part 9 of a series on eBPF: kprobes, kretprobes, tracepoints, raw tracepoints, fentry and fexit, kprobe-multi, uprobes and USDT, all attached to the same call on Linux 6.2 and timed against each other; what each one does …
Part 3 of a series on eBPF: one execve() counter written for bpftrace, for BCC, in C with libbpf and in Go with cilium/ebpf, then measured on a stock Ubuntu 22.04 for start-up time, memory and what each needs installed. …
Part 1 of a series on eBPF: what it is, where it came from, and one 27-instruction program that counts every process a stock Ubuntu 22.04 kernel starts. Written as a bpftrace one-liner and in C with libbpf, then followed …