lttv: Add option for "massif" heap profiling tool
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Wed, 12 Aug 2009 13:19:27 +0000 (09:19 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 1 Sep 2009 13:35:44 +0000 (09:35 -0400)
Valgrind rules!

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
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.023528 seconds and 4 git commands to generate.