Added valgrind helper scripts.

This commit is contained in:
Doncho Gunchev 2014-12-17 01:48:21 +08:00
parent a84ef39ed8
commit 446115daef
3 changed files with 16 additions and 0 deletions

4
devel/CALLGRIND Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
G_SLICE=always-malloc G_DEBUG=gc-friendly \
valgrind --tool=callgrind --trace-children=no --num-callers=32 --track-fds=yes --error-exitcode=1 --dump-instr=yes --collect-jumps=yes --simulate-cache=yes --simulate-hwpref=yes "$@"