From: Benjamin Poirier Date: Fri, 18 Dec 2009 19:15:11 +0000 (-0500) Subject: Add glib options to help out valgrind X-Git-Tag: v0.12.26~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0d136246d72cbe5cfe53466a1096a44bdc26bb21;p=lttv.git Add glib options to help out valgrind Signed-off-by: Benjamin Poirier --- diff --git a/runlttv b/runlttv index 5f3ef31d..9dfc6bf8 100755 --- a/runlttv +++ b/runlttv @@ -89,7 +89,7 @@ LTTV_ARGS="$BOPTIONS $LIBS $TRACEFILES $AOPTIONS" if [ "$HELPER" = "gdb" ]; then LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs gdb --args $LTTV_EXEC $LTTV_ARGS elif [ "$HELPER" = "valgrind" ]; then - LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs valgrind --show-reachable=yes --leak-check=full --error-limit=no $LTTV_EXEC $LTTV_ARGS + LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --show-reachable=yes --leak-check=full --error-limit=no $LTTV_EXEC $LTTV_ARGS elif [ "$HELPER" = "massif" ]; then LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs valgrind --tool=massif $LTTV_EXEC $LTTV_ARGS elif [ "$HELPER" = "strace" ]; then