diff options
Diffstat (limited to 'application/package')
-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 |