Modern strace
summary
Modern strace adds concrete features: regular-expression syscall filters and new syscall classes to make portable filters, descriptor-name printing (-y) and user-stack capture to trace why close happens, netlink protocol decoding and a trace-aggregation helper, real-time syscall timing to find sleeping bottlenecks, and options to daemonize for container tracing. It also implements syscall tampering — fault injection, return-value and delay injection — which finds real bugs (e.g. a Python I/O bug later fixed) and works as a regression/testing tool.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:24Traditional strace
- 2:16Dump data
- 2:40Filtering
- 3:15Modern model
- 4:17New classes
- 4:48System call tampering
- 5:03System call filtering
- 7:26Regular expressions
- 12:09Start familiar
- 16:07White option
- 17:00Stack tracing
- 19:38Arguments
- 21:59Statistics
- 26:16Stress
- 26:50Aggregate
- 28:12Fault Injection
- 32:11Return Injection
- 34:08Delay Injection
- 38:00Questions








