summaryrefslogtreecommitdiffstats
path: root/application/package
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-15 03:13:57 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-15 03:13:57 +0200
commit6cfac115b1f18b9ff5130b2b9a6d5e2fcf052e6c (patch)
treedf872b8018c323b1009c04943989dc38071c7f51 /application/package
parent3507ccaf50e22b68850f5b8a2072a56e218691f4 (diff)
downloadMultiMC-6cfac115b1f18b9ff5130b2b9a6d5e2fcf052e6c.tar
MultiMC-6cfac115b1f18b9ff5130b2b9a6d5e2fcf052e6c.tar.gz
MultiMC-6cfac115b1f18b9ff5130b2b9a6d5e2fcf052e6c.tar.lz
MultiMC-6cfac115b1f18b9ff5130b2b9a6d5e2fcf052e6c.tar.xz
MultiMC-6cfac115b1f18b9ff5130b2b9a6d5e2fcf052e6c.zip
NOISSUE add commented callgrind startup to linux script
Diffstat (limited to 'application/package')
-rwxr-xr-xapplication/package/linux/MultiMC4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/package/linux/MultiMC b/application/package/linux/MultiMC
index 80225e53..2e44a3ac 100755
--- a/application/package/linux/MultiMC
+++ b/application/package/linux/MultiMC
@@ -37,6 +37,10 @@ if [ "x$DEPS_LIST" = "x" ]; then
# Run MultiMC in valgrind
# valgrind --log-file="valgrind.log" --leak-check=full --track-origins=yes "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@
+ # Run MultiMC with callgrind, delay instrumentation
+ # valgrind --log-file="valgrind.log" --tool=callgrind --instr-atstart=no "${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@
+ # use callgrind_control -i on/off to profile actions
+
# Exit with MultiMC's exit code.
exit $?
else