Valgrind options: increase callstack log size 49/17149/2
Clément DAVID [Wed, 2 Sep 2015 07:46:34 +0000 (09:46 +0200)]
This will hide suppressed dlerror message in the case of statically allocated
C++ objects on a dynamically linked library.

Change-Id: If83f15578b6cb375022384b34bf324eae84d0620

scilab/bin/scilab

index 68a52bf..277d45e 100755 (executable)
@@ -78,7 +78,7 @@ start_debug_kdbg() {
 }
 
 start_profiling() {
-    VALGRIND_OPTIONS=" --show-below-main=yes --num-callers=12 --demangle=yes --leak-check=full --show-reachable=yes --smc-check=all --show-below-main=yes --track-origins=yes --suppressions=$SCI/tools/profiling/valgrind.supp $SCILAB_VALGRIND_OPT"
+    VALGRIND_OPTIONS=" --show-below-main=yes --num-callers=16 --demangle=yes --leak-check=full --show-reachable=yes --smc-check=all --show-below-main=yes --track-origins=yes --suppressions=$SCI/tools/profiling/valgrind.supp $SCILAB_VALGRIND_OPT"
     if test -n "$DEVENV"; then
         echo "Running profiling of Scilab  : " "$SCI"/libtool --mode=execute valgrind $VALGRIND_OPTIONS "$SCILABBIN" "$@"
         "$SCI"/libtool --mode=execute valgrind $VALGRIND_OPTIONS "$SCILABBIN" "$@"