Add massif option.
authorCarl Hetherington <cth@carlh.net>
Thu, 9 May 2013 13:20:41 +0000 (14:20 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 9 May 2013 13:20:41 +0000 (14:20 +0100)
run/makedcp

index f71345b666d7708817053288ebccd5b46a52fb71..2b95ea165237a2dda5e2ce3b51d25afe07329cfe 100755 (executable)
@@ -4,9 +4,12 @@ export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH:build/src
 if [ "$1" == "--debug" ]; then
     shift
     gdb --args build/src/tools/makedcp "$@"
-elif [ "$1" == "--valgrind" ]; then
+elif [ "$1" == "--memcheck" ]; then
     shift
     valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/src/tools/makedcp "$@"
+elif [ "$1" == "--massif" ]; then
+    shift
+    valgrind --tool="massif" build/src/tools/makedcp "$@"
 else
     build/src/tools/makedcp "$@"
 fi