diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 12:37:33 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 12:42:11 -0300 |
| commit | 36d7f642e71207d04f5da80530da552e06447337 (patch) | |
| tree | 97277b7180675d46782e513320b5ac4a18de3282 /README.md | |
| parent | c0f5bd34d0f5339626d2c28c4012db7be46b55f3 (diff) | |
| download | computeranim-36d7f642e71207d04f5da80530da552e06447337.tar.gz computeranim-36d7f642e71207d04f5da80530da552e06447337.zip | |
syscalls: what writev's buffers hold is captured, by the debugger and the agent
musl's printf and Zig programs write through writev: pardes drawing an
image showed nothing of the kitty graphics commands it sends until this.
The README says what Lua and pardes were run with and what they showed.
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 |
