User Tools

Site Tools


blog:valgrind

Valgrind

Just a self reminder - I actually only just found out how useful valgrind can be :-P

Simple run

$ valgrind --tool=memcheck --leak-check=full --track-origins=yes -s <command>

Or, with logger

valgrind --leak-check=full --track-origins=yes --log-file=valgrind.rpt <command>

Maybe I will elaborate on this some other time.

blog/valgrind.txt · Last modified: 2023/09/14 08:55 by azman