arcall: use dedicated directory for output, and add --dump-instr=yes
This commit is contained in:
parent
8657eba4c5
commit
1769b20dd1
@ -3,6 +3,9 @@ TOP=`dirname "$0"`/..
|
|||||||
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
||||||
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
||||||
export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
|
export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
|
||||||
|
|
||||||
|
mkdir -p ./ardour_profile-$$
|
||||||
|
|
||||||
exec valgrind \
|
exec valgrind \
|
||||||
--error-limit=no --num-callers=50 \
|
--error-limit=no --num-callers=50 \
|
||||||
--tool=callgrind \
|
--tool=callgrind \
|
||||||
@ -10,5 +13,7 @@ exec valgrind \
|
|||||||
--separate-threads=yes \
|
--separate-threads=yes \
|
||||||
--collect-systime=yes \
|
--collect-systime=yes \
|
||||||
--collect-jumps=yes \
|
--collect-jumps=yes \
|
||||||
|
--dump-instr=yes \
|
||||||
--instr-atstart=no \
|
--instr-atstart=no \
|
||||||
$TOP/$EXECUTABLE --novst "$@"
|
--callgrind-out-file=./ardour_profile-$$/ardour-%p.log \
|
||||||
|
$TOP/$EXECUTABLE "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user