~/talk

A Beginner's Guide to eBPF Programming with Go

slides:none on file

Shows practical eBPF workflow: C eBPF programs compiled with clang, user code in Go using libbpfgo, and kernel insertion via the bpf syscall plus perf_event_open and ioctl. Builds a kprobe/raw tracepoint program and a perf event array map to send payloads to user space. Reimplements a bpftrace-style counter of syscalls per command in ~60 Go lines plus a few C lines, requires sudo, verifies in-kernel safety, demos succeed and prints counters on interrupt.

AI-written summary · about

  1. 0:00Intro
  2. 1:05What is eBPF?
  3. 4:34Eyplore bpf syscalls in bpftrace
  4. 6:43eBPF programs & maps
  5. 9:56Attach custom code to an event
  6. 10:35demo
  7. 11:39How to write eBPF hello world?
  8. 14:50eBPF hello world
  9. 24:40eBPF maps
  10. 25:37demo
  11. 31:55Recreate bpftrace command
  12. 32:05demo
  13. 34:48Outro
~/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.