~/talk

Modern strace

Talkat DevConf.CZ 2023 · 2023-06-16..06-18· [linux-and-operating-systems]
links:none on file
slides:none on file

strace adds concrete tools: --seccomp-bpf uses a seccomp BPF program so traced processes run nearly untraced (example shows ~10% overhead vs historic 40× slowdown), but it’s inheritable across forks and incompatible with daemonize modes. Return-status filtering via --status lets showing only successful or failed syscalls and triggers aggregation. poke_enter/poke_exit memory injection changes syscall arguments and return buffers (works but shows hex blobs). Other additions: PID/comm decoding, --secontext, --syscall-number, %clock/%creds filters, --summary-columns and --tips.

AI-written summary · about

  1. 0:00Modern strace intro
  2. 1:08Process tracing & output control
  3. 2:12BPF fast tracing with seccomp
  4. 4:23Detaching tracer & process groups
  5. 5:47Demonizing strace and process isolation
  6. 8:19Stop tracing after a specified number of system calls
  7. 10:08PID & namespace decoding
  8. 13:06FD info decoding
  9. 14:30SELinux context mismatches
  10. 15:40Syscall numbers display
  11. 16:20Filter by exit status
  12. 18:51Filter by file descriptors
  13. 19:38Adding system call filtering groups
  14. 20:18Injecting into system call arguments and memory
  15. 22:05Stats output control
  16. 23:09Tips & tricks
  17. 26:54Q&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.