From d2ed905c85301e2124125ad7701ab85ced7e2bee Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 28 Mar 2012 12:20:09 +0100 Subject: when run under memcheck allow SIGUSR2 to dump current memory allocations --- desktop/scripts/soffice.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop/scripts') diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index 9a3f6f9dbb2f..97a2be913f13 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -109,6 +109,7 @@ for arg in $@ $VALGRINDOPT ; do fi # finally set the valgrind check VALGRINDCHECK="valgrind --tool=$VALGRIND --trace-children=yes $valgrind_skip --num-callers=50 --error-limit=no --error-exitcode=101" + echo "use kill -SIGUSR2 pid to dump traces of active allocations" checks="c$checks" if [ "$VALGRIND" = "memcheck" ] ; then export G_SLICE=always-malloc -- cgit