summaryrefslogtreecommitdiff
path: root/src/trace/client.zig
Commit message (Collapse)AuthorAge
* client: a thread's id asked once, the environment read by nameGabriel Schneider6 days
| | | | | | | | The gettid per event is gone (a thread-local cache; a forked child resets it), and environ/getenv are public: the agent reads its ZTRACE_* options the way the ring's fd was read. Co-Authored-By: Claude Fable 5.2 <[email protected]>
* ztrace: the event, the ring, the recording, a ptrace loopGabriel Schneider6 days
One 64-byte Event for every backend; a shared-memory ring from target to tracer with stop/resume; a Recorder that folds events into xitdb moments (registers, memory in 64-byte chunks with known-byte masks, strings) and a Trace that reads any moment back; a minimal ptrace Process; ztrace record, run and dump. Per-area build files so the areas grow apart.