mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
arcall: use dedicated directory for output, and add --dump-instr=yes
This commit is contained in:
parent
8657eba4c5
commit
1769b20dd1
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue