From: Benjamin Poirier Date: Wed, 12 Aug 2009 13:19:27 +0000 (-0400) Subject: lttv: Add option for "massif" heap profiling tool X-Git-Tag: v0.12.20~46 X-Git-Url: https://git.lttng.org/?p=lttv.git;a=commitdiff_plain;h=ad5078daa380dd0caad9c05c62acea276969d418 lttv: Add option for "massif" heap profiling tool Valgrind rules! Signed-off-by: Benjamin Poirier --- diff --git a/runlttv b/runlttv index f64d91d9..5b17940a 100755 --- a/runlttv +++ b/runlttv @@ -56,6 +56,9 @@ if [ "$HELPER" = "gdb" ]; then elif [ "$HELPER" = "valgrind" ]; then shift LD_LIBRARY_PATH=ltt/.libs valgrind --track-origins=yes --show-reachable=yes --leak-check=full --error-limit=no $LTTV_EXEC $ARGS $TRACEFILE $@ +elif [ "$HELPER" = "massif" ]; then + shift + LD_LIBRARY_PATH=ltt/.libs valgrind --tool=massif $LTTV_EXEC $ARGS $TRACEFILE $@ elif [ "$HELPER" = "strace" ]; then shift LD_LIBRARY_PATH=ltt/.libs strace $LTTV_EXEC $ARGS $TRACEFILE $@