Compile heaptrack from source
masterHeaptrack consists of the heaptrack data collector and the heaptrack_gui analyzer. To compile on Linux, ensure you have the required dependencies (CMake, C++11 compiler, zlib, elfutils, etc.) installed.
Note: If you are on an embedded device, you may only want to build the heaptrack collector to save resources, then analyze the data on a modern Linux machine with the GUI.
cd heaptrack
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j$(nproc)