mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
1007 B
1007 B
Valgrind
TODO
TL;DR
Setup
# Install from source.
git clone 'https://sourceware.org/git/valgrind.git'
cd 'valgrind'
./autogen.sh
./configure
make
make install
# Install using packages.
sudo zypper install 'valgrind'
Usage
# Measure how much heap memory a program uses.
valgrind --tool='massif' pulumi preview
# Get summary statistics from dump taken with massif.
ms_print 'massif.out.12345'