uftrace: A function graph tracer for C/C++ userspace programs
summary
uftrace is an open‑source function graph tracer for C/C++ that instruments binaries with -pg/mcount and records precise, timestamp-based entry/exit times so durations are exact rather than sampled. It supports live recording and replay, argument and return-value capture, summaries with total/self time and call counts, and a time filter (example -t 200ns or -t 100ms) to drop short calls. Traces export via --chrome JSON and open in chrome://tracing; examples show STL refcount phases, recursive Fibonacci return values, clang and V8 internals.
AI-written summary · about
related talks
11mHeaptrack: A Heap Memory Profiler for Linux
57mModern Linux C++ debugging tools - under the covers
30mLet's Intercept OpenGL Function Calls...for Logging!
23mAdvanced Usage of the C++23 Stacktrace Library
01h 29mModern Linux C++ Debugging Tools - Under the Covers
01h 05mHow to Write a Heap Memory Profiler
58mTime Travel Debugging - Debug Complex C++ Bugs With Software from Undo
42mTime Travel Debugging - It’s Time to Debug Different
