summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-29 22:59:12 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-29 22:59:12 +0100
commit462383278536475550640738bdda42dfb7c0c1c9 (patch)
tree3b2737ba9c621eea1b1d764fd566ede625328320
parentd6188a36cb87ac387b301297094ebcc859b69dc3 (diff)
Add --callgrind option to dcpomatic run script.
-rwxr-xr-xrun/dcpomatic3
1 files changed, 3 insertions, 0 deletions
diff --git a/run/dcpomatic b/run/dcpomatic
index 7ea08778c..cf3de165c 100755
--- a/run/dcpomatic
+++ b/run/dcpomatic
@@ -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 "$*"