summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-28 12:20:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-03-28 13:08:58 +0100
commitd2ed905c85301e2124125ad7701ab85ced7e2bee (patch)
tree14c6b64f6fdca0dfa08f0f94400b019fa4f661a7 /desktop
parentf3876e3f4d2375e90112100de360da982ac2b8bb (diff)
when run under memcheck allow SIGUSR2 to dump current memory allocations
Diffstat (limited to 'desktop')
-rwxr-xr-xdesktop/scripts/soffice.sh1
1 files changed, 1 insertions, 0 deletions
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