~/talk

Make ftrace_regs a common trace interface for function entry/exit tracing

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15
links:none on file
slides:none on file

Proposal replaces pt_regs with ftrace_regs for function entry/exit tracing, claiming a smaller, parameter-focused register set that avoids saving control registers and huge stacks on RISC (mips64 cited) and removes the need to copy into pt_regs for eBPF. Implementation converts fprobe/rethook to use the function-graph trampoline and per-task shadow stack, removes the kprobe max_active limit, and reports working integration while enabling eBPF programs to read registers directly from ftrace_regs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Current tracing layers
  3. 8:00Problems with incomplete PTX
  4. 13:06Proposal for F Trace RS
  5. 16:21Future of BPF function tracing
  6. 18:56Background on F Trace RS
  7. 21:42F Trace vs function graph trampoline
  8. 24:34Solving max active K Pro limit
  9. 26:20Use cases and Q&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.