summaryrefslogtreecommitdiff
path: root/targets/agent_bench.c
Commit message (Collapse)AuthorAge
* agent: bench-agent and its numbers, hooks with names, an archive cc can linkGabriel Schneider7 days
zig build bench-agent runs each capability against its native loop and prints what it costs and writes; README has the table. ztrace run looks at the ring a little longer before sleeping (a target that finds the tracer asleep pays a futex wake an event). A hooked function's name is defined as the string of its address, so the recorder's call stack reads fib. A static link without libc's malloc says which -u to add. The archive carries no stack probes, so cc links it in debug builds too. Tests for --wrap (musl, zig cc) and for a recording that fills. Co-Authored-By: Claude Fable 5.2 <[email protected]>