From ad5078daa380dd0caad9c05c62acea276969d418 Mon Sep 17 00:00:00 2001 From: Benjamin Poirier Date: Wed, 12 Aug 2009 09:19:27 -0400 Subject: [PATCH] lttv: Add option for "massif" heap profiling tool Valgrind rules! Signed-off-by: Benjamin Poirier --- runlttv | 3 +++ 1 file changed, 3 insertions(+) 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 $@ -- 2.34.1