Chapter 2
July 1, 2025 ยท View on GitHub
You'll need BCC installed for the examples in this directory.
hello.py- simple example that emits trace messages triggered by a kprobehello-file- similar simple example, attached to a syscall entry tracepointhello-map.py- introduce the concept of a BPF maphello-buffer.py- use a ring buffer to convey information to user spacehello-file-ring-buffer.py- like hello-file but passing information using a ring bufferhello-tail.py- simple demo of eBPF tail calls