~/talk

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

links:none on file
slides:none on file

strace proves itself as a daily Swiss Army knife by showing exact system calls, file paths and timing so you can find missing config files and which libraries get loaded, attach to running PIDs with -p, or trace forks and execs with -f and -ff to produce per‑process logs. use -s to dump long strings or -x for hex, and -ttt or -r to get absolute or relative microsecond timing. demos show a 1.7s blocking read and a 0.64s sensor interval and include replaying traces to reproduce timing patterns.

AI-written summary · about

  1. 0:00strace introduction
  2. 1:02What is strace and docs
  3. 6:39strace and ptrace
  4. 9:06strace modes
  5. 11:15Tracing a simple command
  6. 15:53How strace captures calls
  7. 21:08Output and file descriptors
  8. 23:14Filtering system calls
  9. 27:28Saving output to files
  10. 30:38String sizes and verbosity
  11. 34:33Selecting system calls
  12. 36:59Timing options
  13. 39:28Embedded device sensors example
  14. 42:38Replaying traced processes
  15. 46:10Summary
~/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.