agentzh/usdt-sample — explained in plain English
Analysis updated 2026-07-17 · repo last pushed 2024-01-30
Learn how to add near-zero-cost tracing checkpoints to a compiled C program.
Debug a slow production server without recompiling the code each time.
Use this as a reference to add USDT probes to your own C or C++ project.
| agentzh/usdt-sample | kassane/ollama-d | kassane/dlang-mos-hello-world | |
|---|---|---|---|
| Stars | 5 | 5 | 2 |
| Language | D | D | D |
| Last pushed | 2024-01-30 | 2026-03-13 | 2024-05-30 |
| Maintenance | Dormant | Maintained | Dormant |
| Setup difficulty | hard | moderate | easy |
| Complexity | 4/5 | 3/5 | 3/5 |
| Audience | ops devops | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires DTrace (Solaris/macOS) or SystemTap (Linux), example was tested on older systems, so a proof-of-concept.
A minimal example showing how to add low-cost tracing checkpoints to a C program so tools like DTrace or SystemTap can observe it running in real time.
Mainly D. The stack also includes C, Makefile, DTrace.
Dormant — no commits in 2+ years (last push 2024-01-30).
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly ops devops.
This repo across BitVibe Labs
double-check against the repo, no cap.