projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6188a3
)
Add --callgrind option to dcpomatic run script.
author
Carl Hetherington
<cth@carlh.net>
Thu, 29 Aug 2013 21:59:12 +0000
(22:59 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 29 Aug 2013 21:59:12 +0000
(22:59 +0100)
run/dcpomatic
patch
|
blob
|
history
diff --git
a/run/dcpomatic
b/run/dcpomatic
index 7ea08778c2ac3111abfca54eb2a0dae2867a4ed8..cf3de165c11044471040a93eb3ec240ea6a33156 100755
(executable)
--- 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 "$*"