Add more useful exports to soffice's callgrind mode
commit35463d886e15d13a81bce36610140e40ae742416
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Mon, 10 Jun 2019 16:27:05 +0000 (10 19:27 +0300)
committerXisco Faulí <xiscofauli@libreoffice.org>
Sat, 13 Jul 2019 14:17:16 +0000 (13 16:17 +0200)
treea1638abf13b92950872f8a8b7a05e9866baa704f
parent90882591134ee39eed5588ee29f3633ec9b16eea
Add more useful exports to soffice's callgrind mode

Moved from TDF wiki to avoid duplication.

These three stop us getting poor performance from unusual allocators:
unset MALLOC_CHECK_ MALLOC_PERTURB_ G_SLICE

If we wedge, at least we don't do it while grabbing the mouse:
export SAL_DISABLE_FLOATGRAB=1

Turns off recovery dialog, which can be a pain:
export OOO_DISABLE_RECOVERY=1

Turns off GL watchdog. It normally kills the application, if it
seems to hang in a GL block:
export SAL_DISABLE_GL_WATCHDOG=1

Change-Id: I4ec30d363280b727cd305a6a81ccb85849697159
Reviewed-on: https://gerrit.libreoffice.org/73773
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
desktop/scripts/soffice.sh