summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 12:15:20 -0300
committerGabriel Schneider <[email protected]>2026-11-10 12:28:33 -0300
commit952af9711cc6a4de987a9d9d45e1e36721c5b470 (patch)
tree13da451d702416dd30a446c8265e8dddb8b8580e /README.md
parent8008a2655c0f0c9b9890fb4866f774c9b50e170c (diff)
downloadcomputeranim-952af9711cc6a4de987a9d9d45e1e36721c5b470.tar.gz
computeranim-952af9711cc6a4de987a9d9d45e1e36721c5b470.zip
ztrace perf takes the target's own ring: allocations among the page faults
--preload and --alloc on ztrace perf: what the agent says and what the kernel sees are merged by time into one recording (perf.Sorted, as probe merges BPF and perf). test-together runs a list under both.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 029241e..922ab77 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,8 @@ ztrace cc -- clang -O0 targets/instr_list.c -o list
ztrace record --by break -b push -b reverse --alloc --preload zig-out/lib/libztrace-agent.so -- ./list
ztrace dbg --ring -- ./list # breakpoints and time travel over what the program says of itself
ztrace show out.ztrace 40 # the thread's line and calls, the live heap, each variable's bytes
+ztrace perf --faults --syscalls --alloc --preload zig-out/lib/libztrace-agent.so -- ./list
+ # the kernel's view too: each malloc, the brk it makes, the faults of its first touch
zig build test-together
```