~/talk

Processor tracing in perf

slides:none on file

Intel Processor Trace (Intel PT) records every branch in a highly compressed packet stream (TNT bits, PSB sync, timestamps), decodes with perf userspace via the --itrace option, and lets perf synthesize instructions or call traces; BTS stores branches as BTS 24+8 bytes records and LBR keeps a small history (e.g. LBR depth 32), LBR incurs ~4x slowdown in one benchmark (baseline 58s), PT has much lower overhead and supports snapshot mode to dump traces on signal.

AI-written summary · about

  1. 0:00Start
  2. 0:22Processor Tracing
  3. 1:46Branch Instructions
  4. 2:29Conditional Jumps
  5. 4:50Translate the Hex Dump
  6. 9:23Perf Report
  7. 24:40Call Graph
  8. 24:52Trace the Kernel
  9. 28:17Snapshot Mode
~/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.