diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-15 03:13:57 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-15 03:13:57 +0200 |
commit | 6cfac115b1f18b9ff5130b2b9a6d5e2fcf052e6c (patch) | |
tree | df872b8018c323b1009c04943989dc38071c7f51 /application | |
parent | 3507ccaf50e22b68850f5b8a2072a56e218691f4 (diff) | |
download | MultiMC-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')
-rwxr-xr-x | application/package/linux/MultiMC | 4 |
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 |