diff --git a/devel/CALLGRIND b/devel/CALLGRIND new file mode 100755 index 0000000..c5d95bc --- /dev/null +++ b/devel/CALLGRIND @@ -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 "$@" diff --git a/devel/HELLGRIND b/devel/HELLGRIND new file mode 100755 index 0000000..67061cf --- /dev/null +++ b/devel/HELLGRIND @@ -0,0 +1,5 @@ +#!/bin/bash + +# G_SLICE=always-malloc G_DEBUG=gc-friendly \ + +valgrind --tool=helgrind --track-lockorders=yes --history-level=full --conflict-cache-size=1000000 "$@" diff --git a/devel/VALGRIND b/devel/VALGRIND new file mode 100755 index 0000000..bd6aba0 --- /dev/null +++ b/devel/VALGRIND @@ -0,0 +1,7 @@ +#!/bin/bash + +# track-origins=yes is veeeery slow + +G_SLICE=always-malloc G_DEBUG=gc-friendly \ +/usr/bin/valgrind --tool=memcheck --trace-children=no --leak-check=full --leak-resolution=high --num-callers=32 --max-stackframe=20982960 \ + --track-fds=yes --track-origins=no --db-command="cgdb -nw %f %p" --error-exitcode=1 --show-reachable=no --db-attach=yes "$@"