X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic;h=74181fcf8097cdc9c59dd2dd94cc0b756ebcb449;hb=34b40f12d7eec52862999da9e4417fc8f6e0f9af;hp=7ea08778c2ac3111abfca54eb2a0dae2867a4ed8;hpb=47f25009bcbc765e397bcb471dd361a511c99daf;p=dcpomatic.git diff --git a/run/dcpomatic b/run/dcpomatic index 7ea08778c..74181fcf8 100755 --- a/run/dcpomatic +++ b/run/dcpomatic @@ -7,9 +7,15 @@ 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 "$*" + LANGUAGE=de_DE.UTF8 LANG=de_DE.UTF8 LC_ALL=de_DE.UTF8 build/src/tools/dcpomatic "$*" +elif [ "$1" == "--perf" ]; then + shift + perf record build/src/tools/dcpomatic $* else build/src/tools/dcpomatic $* fi