[Libreoffice-commits] core.git: desktop/scripts

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 3 18:50:55 UTC 2019


 desktop/scripts/soffice.sh |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a5fa2d2d64c7fc2ef096ae61fe2db327a42db2b4
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Mon Jun 3 13:38:27 2019 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Mon Jun 3 20:49:56 2019 +0200

    LD_BIND_NOW=1 if running under callgrind
    
    It avoids all those calls to _dl_runtime_resolve_xsave that
    in KCachegrind's call graph lead to nowhere and make navigating harder.
    
    Change-Id: Ie3843676298d92b8ed6d598ead16f4d410ba8b2b
    Reviewed-on: https://gerrit.libreoffice.org/73382
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index 6f969b5af321..579915d1d6b3 100755
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -126,6 +126,9 @@ for arg in "$@" $EXTRAOPT ; do
                     export G_SLICE=always-malloc
                     export GLIBCXX_FORCE_NEW=1
                     ;;
+                callgrind)
+                    export LD_BIND_NOW=1
+                    ;;
                 esac
             else
                 echo "Error: Can't find the tool \"valgrind\", --valgrind option will be ignored"


More information about the Libreoffice-commits mailing list