diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-28 12:20:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-28 13:08:58 +0100 |
commit | d2ed905c85301e2124125ad7701ab85ced7e2bee (patch) | |
tree | 14c6b64f6fdca0dfa08f0f94400b019fa4f661a7 /desktop | |
parent | f3876e3f4d2375e90112100de360da982ac2b8bb (diff) |
when run under memcheck allow SIGUSR2 to dump current memory allocations
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/scripts/soffice.sh | 1 |
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 |