summaryrefslogtreecommitdiff
path: root/run/dcpomatic_batch
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-14 14:00:02 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-14 14:00:02 +0000
commitda638b22b59a0cd04d88c2852ef9fb28eb5edcd7 (patch)
treeb6bb7e4ce412b10b0adba43d3561cf2d23839045 /run/dcpomatic_batch
parent0f0c54de9fe67782037fd4e3d115b8e7732fe9ed (diff)
Add --massif option to dcpomatic_batch.
Diffstat (limited to 'run/dcpomatic_batch')
-rwxr-xr-xrun/dcpomatic_batch3
1 files changed, 3 insertions, 0 deletions
diff --git a/run/dcpomatic_batch b/run/dcpomatic_batch
index 78ee8f7be..80cf5291c 100755
--- a/run/dcpomatic_batch
+++ b/run/dcpomatic_batch
@@ -7,6 +7,9 @@ if [ "$1" == "--debug" ]; then
elif [ "$1" == "--valgrind" ]; then
shift
valgrind --tool="memcheck" --suppressions=valgrind.supp --leak-check=full --show-reachable=yes build/src/tools/dcpomatic_batch $*
+elif [ "$1" == "--massif" ]; then
+ shift
+ valgrind --tool="massif" build/src/tools/dcpomatic_batch $*
elif [ "$1" == "--callgrind" ]; then
shift
valgrind --tool="callgrind" build/src/tools/dcpomatic_batch $*