1
Tuning Valgrind for your Workload
Hints, tricks and tips to effectively use Valgrind on small or big applications
Philippe Waroquiers FOSDEM 2015 valgrind devroom
Tuning Valgrind for your Workload Hints, tricks and tips to - - PowerPoint PPT Presentation
Tuning Valgrind for your Workload Hints, tricks and tips to effectively use Valgrind on small or big applications Philippe Waroquiers FOSDEM 2015 valgrind devroom 1 Some rumours about Valgrind ... Valgrind burns all the CPU it can
1
Hints, tricks and tips to effectively use Valgrind on small or big applications
Philippe Waroquiers FOSDEM 2015 valgrind devroom
2
3
valgrind your_program
150 user command line options to e.g. control
– what kind of bugs to detect – which information to capture – ...
and have more information/features
by reducing captured information
debug information, …
tracking for memcheck, detailed race condition history for helgrind, ...
5
– In particular for helgrind
if suspecting (big) over/under-run
7
the malloc stack trace, and when freed, the free stacktrace
valgrind JIT code cache:
– and be patient
17