summaryrefslogtreecommitdiff
path: root/src/trace/bpf.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 11:39:20 -0300
committerGabriel Schneider <[email protected]>2026-11-10 12:19:06 -0300
commitdb923fa823354270217362db06356f2b1a41315e (patch)
tree676ad2dbfd59f0677200d85616ef1ed14d058981 /src/trace/bpf.zig
parenta7504c6bb2ec9e906891e42bc3df28b276e67143 (diff)
downloadcomputeranim-db923fa823354270217362db06356f2b1a41315e.tar.gz
computeranim-db923fa823354270217362db06356f2b1a41315e.zip
ztrace perf: the kernel's view of a program, unprivileged
perf_event_open on a held child: counters, a sampling profile, every page fault with its registers, maps, threads, context switches, every syscall (the per-syscall tracepoints, the only ones open to a user), and the debug registers as watchpoints and breakpoints that do not stop the target. One time-ordered stream of Events into a Sink; --threads follows with a ring per CPU. usdt.zig: the notes of <sys/sdt.h> and their arguments from a Regs and a memory reader, independent of BPF. test-kernel runs all of it on targets/kernel_*. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'src/trace/bpf.zig')
0 files changed, 0 insertions, 0 deletions