diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 12:23:33 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 12:23:41 -0300 |
| commit | 8008a2655c0f0c9b9890fb4866f774c9b50e170c (patch) | |
| tree | ec54af73611e686751dd74dd3f4a585198a91de5 /README.md | |
| parent | 2e01933dc5c0c1903c1b7f86e453829fee9a541b (diff) | |
| download | computeranim-8008a2655c0f0c9b9890fb4866f774c9b50e170c.tar.gz computeranim-8008a2655c0f0c9b9890fb4866f774c9b50e170c.zip | |
kernel: on today's main
Symbols come from Symbols (perf.lookup is gone), string ids from
event.stringId, and ptrace.Process is used as it is now. A USDT
semaphore of the program itself is raised by the tracer: the kernel's
counter landed on the wrong word of a small lld-linked target, whose
page of the file is mapped writable twice. test-kernel also runs the
library tests of perf, usdt and bpf.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -361,7 +361,9 @@ otherwise; `--dry-run` builds everything and lists it. BPF programs, built here as instruction arrays for one process, on the raw tracepoints `sys_enter`, `sys_exit` and `sched_switch` (both threads of a switch, through the kernel's BTF), on kprobes, on uprobes, and on USDT probes, -whose arguments are read in the kernel at the probe. They write `Event`s +whose arguments are read in the kernel at the probe (the program's own +semaphores are raised by writing them: the kernel's counter misses when +lld has mapped that page of the file twice). They write `Event`s into one BPF ring buffer and count what did not fit. A syscall costs 0.15 us, a probe 0.5 to 0.8 (in a VM), 22 to 73 bytes an event. |
