~/talk

Strace - Swiss Army Knife to Trace, Analyze, RT Debug

links:none on file
slides:none on file

strace is used to record exact system calls, timestamps and children so you can find missing config files, slow syscalls and reproduce timing-dependent bugs. Typical workflow: run with -f to follow children, write output with -o or -ff per-pid files, filter syscalls with -e open,read,write and capture precise times with -ttt and -T (kernel time). Examples: 15 ms serial read latency traced to FTDI latency timer (disable it), replay timing with usleep to trigger a race, startup drops from ~4 minutes to ~11 seconds.

AI-written summary · about

  1. 0:00strace introduction
  2. 2:12Where to find strace documentation and resources
  3. 4:42Basic strace usage
  4. 7:36Timing and forking
  5. 10:08Attach to running
  6. 13:00File output handling
  7. 15:27Filter system calls
  8. 17:38Verbose output
  9. 19:24Binary data representation and hexadecimal output
  10. 20:04Trace specific calls
  11. 23:37Timestamps analysis
  12. 26:49Kernel time measurement
  13. 28:14Debugging delays
  14. 31:043D graphics debugging
  15. 34:19Serial interface debug
  16. 43:30IoT timestamps extraction
  17. 46:20Network socket analysis
  18. 50:57Network timing issues
  19. 53:25Q&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.