summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-12 12:32:16 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-12 12:32:16 +0000
commit1d850d8d13d9730f66e66e96817d10450c6b7e0d (patch)
tree2011dd932f47351f5585153937c2032c850ec9c8
parentcfdde6a6da46596a3553aa1dc9af20d61db58807 (diff)
Add --massif option to run/dcpomatic.
-rwxr-xr-xrun/dcpomatic3
1 files changed, 3 insertions, 0 deletions
diff --git a/run/dcpomatic b/run/dcpomatic
index 74181fcf8..f3f1b84ff 100755
--- a/run/dcpomatic
+++ b/run/dcpomatic
@@ -10,6 +10,9 @@ elif [ "$1" == "--valgrind" ]; then
elif [ "$1" == "--callgrind" ]; then
shift
valgrind --tool="callgrind" build/src/tools/dcpomatic $*
+elif [ "$1" == "--massif" ]; then
+ shift
+ valgrind --tool="massif" build/src/tools/dcpomatic $*
elif [ "$1" == "--i18n" ]; then
shift
LANGUAGE=de_DE.UTF8 LANG=de_DE.UTF8 LC_ALL=de_DE.UTF8 build/src/tools/dcpomatic "$*"