Profiling CPU and Memory on Linux, with Opensource Graphical Tools
Talkat Open Source Summit Europe + Embedded Linux Conference Europe 2019 · on Monday, 2019-10-28· at 17:10· Forum 1·
summary
Two open source graphical profilers are available for Linux: heaptrack records malloc and free via LD_PRELOAD, captures stack traces, and shows a frame graph to find allocations and reduce temporary allocations (an example drops ~10 million temporary allocations to zero after one code change); hotspot wraps perf for on‑CPU sampling (~10,000 samples recorded in the demo, ~5k/sec) and postprocesses off‑CPU waits to reveal an 80% mutex contention hotspot and excessive threads. Both ship as AppImages and work on perf-recorded traces.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:45HipTrack
- 4:48HipTrack Demo
- 10:45Profiling Applications
- 11:35Sampling Profiling
- 14:01Frame Graph
- 18:14Questions
- 26:08Demonstration
related talks
16mMemory Allocation Profiling upcoming features
19mProfiling Your Code: 5 Tips to Significantly Boost Performance
26mProfiling Mastery: Decode Your Data and Elevate Observability
41mDeep dive into Android Studio Profilers
30mSeven ways to Profile Go Applications
33mProfiling Code
19mPROMPT: A Fast and Extensible Memory Profiling Framework
23m The CPU Usage Analyzer for Device Creation
