diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -104,6 +104,22 @@ everything instrumented (lines, calls, variables, stores, in all of its A moment a C line of an interpreter is a great many moments: choose what is instrumented (`--only`, `--mem`, `--instr`) before choosing to wait. +The other backends on the same Lua, uninstrumented: the agent's +allocations and syscalls (368 allocations, no ptrace), breakpoints on +`luaH_resize` (48 hits), source lines from DWARF (53 000 a second), +counters and page faults from perf (10.8 million instructions, 89 faults). + +And pardes drawing an image, through its own harness (`zig build +image-harness` there, the command it runs given to `ztrace run --preload +... --syscalls --capture 2048`): the harness and the pardes it starts are +one recording, 9 threads, and the kitty graphics protocol is there to read +in the captured writes: pardes asks (`_Gi=1,a=q`), the terminal answers +(`_Gi=1;OK`), pardes sends the pixels (`_Gf=32,s=2,v=2,i=1;DU3n/w...`). Two +limits it shows: a recording's state is one address space, so a child's +memory and mappings share its parent's maps (its events are told apart by +thread); and pardes allocates through its own heaps, so `--alloc` sees only +what its C libraries ask of libc. + ## Together The backends are not modes to choose between: they feed one sink. A |
