diff options
| author | eunhhu <[email protected]> | 2026-09-27 18:47:05 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-27 18:47:05 +0100 |
| commit | 76f5edb2bcc227c2be743873753792dbc5af1f48 (patch) | |
| tree | 79fa77f7071567e7d16392f017611b92ec2d6f51 /docs/research/030-authenticated-document-peer.md | |
| parent | c635e41d8576f5587d47e51a98dfd4a8920315f0 (diff) | |
| download | pure-76f5edb2bcc227c2be743873753792dbc5af1f48.tar.gz pure-76f5edb2bcc227c2be743873753792dbc5af1f48.zip | |
Add a sampling profiler for machines without perf
benchmarks/sample.c runs a command and samples where its threads spend
user time (the task clock every 50 us, one perf_event_open event a CPU,
since the kernel maps no ring for an inherited per-task event), then
names the samples from the ELF symbol tables of the files the command had
mapped: a stripped library from its debug file by build id. On arm64 it
also takes the link register, so time in a library's leaf (memcpy,
strcmp) is shown again by its caller. The command's user and system time
head the report.
Diffstat (limited to 'docs/research/030-authenticated-document-peer.md')
0 files changed, 0 insertions, 0 deletions
