~/talk

An introduction to bpftrace tracing language

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [linux-and-operating-systems]
links:none on file
slides:none on file

Introduces practical bpftrace usage with concrete examples: tracing the read syscall via kprobes and uprobes, building per-program associative maps (counts, histograms) using built-ins like @count, @hist and computing latency by storing timestamps on entry and subtracting on exit, printing kernel stack traces and symbolizing addresses, and filtering by command name. Scripts run without changing target binaries, output prints to the bpftrace process terminal, and the workflow requires a relatively recent Linux kernel with eBPF; includes bpftrace one-liners and file-script usage.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13What is bpf
  3. 1:56Why use bpf
  4. 3:48Example
  5. 6:36Probes
  6. 10:30Building variables
  7. 11:31Functions
  8. 12:25Other functions
  9. 13:25Combining functions
  10. 14:08Filters
  11. 14:45Time
  12. 15:55Structure member
  13. 17:39Scene printf
~/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.