Lightning talk- Heaptrack, A Heap Memory Profiler for Linux
summary
Heaptrack is a heap profiler that records every allocation and deallocation with ~1 ms timestamps and allows attaching to a running process; its UI shows allocation counts, size distributions and flame graph views to pinpoint hotspots and temporary allocations. It exposes surprising results like thousands of tiny allocations from Qt QString (no small‑string optimization) and highlights API misuse inside hot paths. Implementation relies on libunwind/libbacktrace, builds with CMake, runs on Linux and can read Vin Heaptrack output from GitHub; UI work is ongoing.
AI-written summary · about
chapters (8)
- 0:00Introduction to Heap track
- 0:27Performance issues in Qt
- 1:21Using the profiling tool
- 2:12Visualizing allocation data
- 3:09Flame graphs and case studies
- 3:58Analyzing Qt string memory
- 5:04Technical implementation
- 6:29Platform support and conclusion
related talks
11mHeaptrack: A Heap Memory Profiler for Linux
01h 02mProfiling with Heaptrack and Hotspot on Embedded Linux
24mLow-overhead memory allocation tracking
48mProfiling data structures
01h 29mModern Linux C++ Debugging Tools - Under the Covers
59mThe Magic of a Trace
31mFantastic tracepoints and where to find them
35mDeep-Kernel Treasure Hunt: Finding exploitable structures in the Linux kernel
