~/talk

Strace: Monitoring The Kernel-User-Space Conversation

Talkat NDC TechTown 2018 · 2018-09-27..09-30· [devops-and-delivery]
slides:none on file

Strace monitors every syscall a process makes via ptrace, decoding names, flags and structures symbolically (strings default to 32 bytes) and shows surprising library/kernel mismatches like fork→clone and _exit→exit_group. It handles thousands of calls (common programs make tens of thousands), can attach live (-p), produce summaries (-c), and can tamper with calls using -e inject to make, for example, the third close fail with EINVAL (22). Tampering is recent and effective but tracing can slow programs by about two orders of magnitude.

AI-written summary · about

  1. 0:00Start
  2. 26:24bypass the execution of a system call
  3. 34:21give me a summary of the system calls
  4. 36:50trace all the threads
~/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.