~/talk

bpftrace: what is it, what's new, and where is it going

Talkat DevConf.US 2024 · 2024-08-14..08-16· [linux-and-operating-systems]
links:none on file
slides:none on file

A lightweight CLI language that compiles to eBPF, bpftrace runs live kernel and user‑space probes with far less code — the execsnoop example shows a one‑line bpftrace equivalent versus ~363 lines in BCC and hundreds more in raw libbpf C. New features include ahead-of-time compilation, loop over map elements, and a config block that improves portability. Used at Meta to find page‑fault long tails and track dlopen usage, upcoming work targets C++/Python type support, raw bpf program interop, more map types, embedding in binaries, and structured trace output for visualization.

AI-written summary · about

  1. 0:00bpftrace intro
  2. 1:03What is bpftrace
  3. 3:38bpftrace vs raw BPF
  4. 4:22Limitations and strengths of bpftrace
  5. 5:25How Meta uses bpftrace in production
  6. 7:10New bpftrace features
  7. 9:17bpftrace future
  8. 10:21Embed bpftrace in binaries
  9. 11:04bpftrace documentation and resources
  10. 13:36Visualize bpftrace output
  11. 15:04Contribute to bpftrace
  12. 16:10Q&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.