arcall: use dedicated directory for output, and add --dump-instr=yes

This commit is contained in:
Paul Davis 2022-03-26 22:34:37 -06:00
parent 8657eba4c5
commit 1769b20dd1
1 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,9 @@ TOP=`dirname "$0"`/..
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
mkdir -p ./ardour_profile-$$
exec valgrind \
--error-limit=no --num-callers=50 \
--tool=callgrind \
@ -10,5 +13,7 @@ exec valgrind \
--separate-threads=yes \
--collect-systime=yes \
--collect-jumps=yes \
--dump-instr=yes \
--instr-atstart=no \
$TOP/$EXECUTABLE --novst "$@"
--callgrind-out-file=./ardour_profile-$$/ardour-%p.log \
$TOP/$EXECUTABLE "$@"