lttv: Add option for "massif" heap profiling tool
[lttv.git] / runlttv
diff --git a/runlttv b/runlttv
index f64d91d9a58cafbb0e632df55ec7cd18bc3a3e41..5b17940af4f1dee40c0fd0d4e220b8d508a8d1b6 100755 (executable)
--- 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 $@
This page took 0.022518 seconds and 4 git commands to generate.