desktop/scripts/soffice.sh | 3 +++ 1 file changed, 3 insertions(+) New commits: commit a5fa2d2d64c7fc2ef096ae61fe2db327a42db2b4 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Mon Jun 3 13:38:27 2019 +0200 Commit: Luboš Luňák <l.lu...@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.lu...@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" _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits