Add --callgrind option to dcpomatic run script.
authorCarl Hetherington <cth@carlh.net>
Thu, 29 Aug 2013 21:59:12 +0000 (22:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 29 Aug 2013 21:59:12 +0000 (22:59 +0100)
run/dcpomatic

index 7ea08778c2ac3111abfca54eb2a0dae2867a4ed8..cf3de165c11044471040a93eb3ec240ea6a33156 100755 (executable)
@@ -7,6 +7,9 @@ if [ "$1" == "--debug" ]; then
 elif [ "$1" == "--valgrind" ]; then
     shift
     valgrind --tool="memcheck" build/src/tools/dcpomatic $*
+elif [ "$1" == "--callgrind" ]; then
+    shift
+    valgrind --tool="callgrind" build/src/tools/dcpomatic $*
 elif [ "$1" == "--i18n" ]; then
     shift
     LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 build/src/tools/dcpomatic "$*"