~/talk

Python-BPF: Writing eBPF programs in pure Python

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [python]
links:none on file
links:none on file
slides:none on file

Python-BPF lets developers write eBPF logic and userspace in one reduced Python grammar file, compiles by generating kernel structs from vm_linux.py, emits LLVM IR in two passes, runs llc to produce an object, and loads with pybpf. Current support includes hash, per-cpu, array, perf event array and ring buffer maps. Demos work: a container monitor (syscalls, net, IO TUI), a notebook neural-net anomaly detector (116 events, 1 anomaly), Blazem symbolization via Rust, and a 5,000-sample VFS latency live dashboard. It adds auto null and bounds checks but still sees verifier failures during new experiments.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Problem statement
  3. 2:23Python-BPF overview
  4. 3:41Internal mechanics
  5. 5:36Container monitor demo
  6. 7:36Neural net anomaly detection
  7. 11:20Rust integration demo
  8. 13:14VFS read latency demo
  9. 16:42Benefits and challenges
  10. 18:18Future goals and roadmap
  11. 21:58Q&A session
~/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.