DBG-220 · Debugging & Tracing · Advanced

eBPF & bpftrace — full syllabus

Programmable observability: one-liners for immediate answers, custom programs for the questions nothing else answers.

Duration4 full days in person · 8 half-days online
Cohortmax 14 in person · 20 online
Pricefrom SAR 12,000 in person · local pricing per city
Delivery35% principles · 20% guided investigation · 45% engineering studio

Who this course is for

Observability, platform and kernel engineers who need programmable answers from a running system — one-liners today, custom CO-RE tools in production tomorrow — without destabilising the machine they are watching.

Prerequisites

Course outline

Day 1 — The eBPF machine

  • The eBPF execution model: programs, attachment points and events
  • The verifier: what it guarantees and what it forbids
  • Maps and their types: hash, array, ring buffer, perf buffer
  • How BCC and bpftrace tools work under the hood
  • Reading the existing tool set before writing anything: execsnoop, opensnoop, biolatency and friends

Day 2 — bpftrace

  • The bpftrace language: probes, actions, built-in variables
  • One-liners for immediate answers on a live system
  • Maps, aggregations and histograms in bpftrace
  • Probe types compared: kprobes, uprobes, tracepoints and USDT — stability vs visibility
  • Script structure for investigations you will rerun

Day 3 — Custom tools with libbpf and CO-RE

  • Why CO-RE exists: the kernel-version fragility problem
  • BTF and how it makes programs portable
  • A minimal libbpf skeleton: load, attach, read maps
  • Writing a custom tool from question to working program
  • Packaging a tool so it survives kernel upgrades

Day 4 — Production safety

  • Measuring your own overhead on a loaded system
  • Stability across kernel versions: what breaks and what does not
  • Verifier limits in practice: instruction counts, loops, stack depth
  • When not to use eBPF: the questions better answered by ftrace, perf or a dump
  • Case-study workshop: from a production symptom to a deployed tool

Hands-on labs

  1. Lab: answer five pointed system questions with bpftrace one-liners, then explain what each probe actually attaches to
  2. Lab: attach kprobe, uprobe, tracepoint and USDT probes to one workload and compare what each can and cannot see
  3. Lab: write a bpftrace script with maps and aggregations that quantifies a per-process latency distribution
  4. Lab: build a minimal libbpf CO-RE tool and run it on two different kernels without recompiling
  5. Lab: measure your tool's overhead under load and state its safe production envelope in numbers

Capstone project

Build a small production-grade observability tool for a real question the course sets (for example, per-process block-I/O latency outliers). You prototype in bpftrace for iteration speed, reimplement in libbpf CO-RE for deployment, measure the overhead under load, and deliver the tool plus a runbook entry: safe-use envelope, known blind spots, and the kernel-version compatibility evidence.

What you leave with

Upcoming dates

DatesWhereSeatsEarly birdRegular
15 Nov – 18 Nov 20264 full days RiyadhIn person · KAFD Conference Centre 7 of 14 SAR 10,800until 16 OctSAR 12,000
22 Nov – 25 Nov 20264 full days Kuwait CityIn person · Al Hamra Tower 12 of 14 KWD 890until 23 OctKWD 990
22 Nov – 25 Nov 20264 full days MuscatIn person · Knowledge Oasis Muscat 7 of 14 OMR 1,110until 23 OctOMR 1,230
29 Nov – 8 Dec 20268 half-days Gulf bandLive online · 09:00–13:00 GMT+3 15 of 20 US$2,070until 30 OctUS$2,300
30 Nov – 3 Dec 20264 full days OttawaIn person · Kanata North Tech Park 12 of 14 CAD 3,920until 31 OctCAD 4,350
30 Nov – 9 Dec 20268 half-days Europe bandLive online · 09:00–13:00 CET 4 of 20 US$2,070until 31 OctUS$2,300
7 Dec – 10 Dec 20264 full days TorontoIn person · MaRS Discovery District 7 of 14 CAD 3,920until 7 NovCAD 4,350
7 Dec – 10 Dec 20264 full days LondonIn person · Shoreditch Works 12 of 14 GBP 2,250until 7 NovGBP 2,500
7 Dec – 16 Dec 20268 half-days Americas bandLive online · 13:00–17:00 ET 9 of 20 US$2,070until 7 NovUS$2,300
14 Dec – 17 Dec 20264 full days BerlinIn person · Factory Görlitzer Park 7 of 14 EUR 2,650until 14 NovEUR 2,940

Book a seat, or bring this course to your team

Seats can be reserved online; private delivery runs on-site or live online, adapted to your stack.

Course page & booking

Questions about fit or prerequisites? Email hello@kernelsystems.academy. To save this syllabus, print this page to PDF from your browser.