diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 12:15:20 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 12:28:33 -0300 |
| commit | 952af9711cc6a4de987a9d9d45e1e36721c5b470 (patch) | |
| tree | 13da451d702416dd30a446c8265e8dddb8b8580e /README.md | |
| parent | 8008a2655c0f0c9b9890fb4866f774c9b50e170c (diff) | |
| download | computeranim-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.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 ``` |
