diff --git a/src/applications/bmqbrkr/etc/bmqbrkrcfg.json b/src/applications/bmqbrkr/etc/bmqbrkrcfg.json index 9741a62f8..620776cc5 100644 --- a/src/applications/bmqbrkr/etc/bmqbrkrcfg.json +++ b/src/applications/bmqbrkr/etc/bmqbrkrcfg.json @@ -1,6 +1,6 @@ { "taskConfig": { - "allocatorType": "STACKTRACETEST", + "allocatorType": "COUNTING", "allocationLimit": 34359738368, "logController": { "fileName": "localBMQ/logs/logs.%T.%p", diff --git a/src/applications/bmqbrkr/run b/src/applications/bmqbrkr/run index 2c2e87b07..feabe19dd 100755 --- a/src/applications/bmqbrkr/run +++ b/src/applications/bmqbrkr/run @@ -34,6 +34,10 @@ while [ "$1" != "" ]; do debugCmd="lldb --" elif [ "$1" == "echo" ]; then debugCmd="echo" + elif [ "$1" == "perf" ]; then + debugCmd="perf record -g" + elif [ "$1" == "valgrind" ]; then + debugCmd="valgrind --tool=callgrind" fi shift done