~/talk

Introduction to eBPF

Talkat NDC TechTown 2024 · 2024-09-09..09-12· [linux-and-operating-systems, security]
links:none on file
slides:none on file

Shows how to compile and load eBPF C with libbpf and bpftool, attach tracepoint and cgroup hooks, and communicate via a ring buffer and hash maps (example map sizes: ring buffer 256*1024 bytes, hash max 32 entries). Builds a controller that watches exec names, records monitored PIDs, moves matching processes into a new cgroup and sets a 200 MB memory limit; also attaches cgroup SKB ingress/egress programs to drop or allow packets (works, with occasional packet-hang behavior observed).

AI-written summary · about

  1. 0:00Introduction
  2. 1:57What is eBPF
  3. 8:37Loading eBPF programs
  4. 12:35Simple eBPF example
  5. 17:02Inspecting with bpftool
  6. 20:44Kernel-user space communication
  7. 22:29eBPF maps and ring buffers
  8. 28:33Process execution tracking
  9. 33:55Process exit and cgroups
  10. 40:25Networking in cgroups
  11. 47:11Kernel requirements
  12. 47:53Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.