mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
fun with valgrind
This commit is contained in:
parent
3e3a5e1cff
commit
1de4ed937c
2 changed files with 15 additions and 3 deletions
12
gtk2_ardour/arhell
Executable file
12
gtk2_ardour/arhell
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
#HELGRIND_OPTIONS="$VALGRIND_OPTIONS --free-is-write=yes"
|
||||
#HELGRIND_OPTIONS="$VALGRIND_OPTIONS --history-level=approx"
|
||||
HELGRIND_OPTIONS="$VALGRIND_OPTIONS --log-file=/tmp/ardour-%p.log"
|
||||
|
||||
TOP=`dirname "$0"`/..
|
||||
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
||||
export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
|
||||
exec valgrind --tool=helgrind \
|
||||
--error-limit=no --num-callers=50 \
|
||||
$HELGRIND_OPTIONS \
|
||||
$TOP/$EXECUTABLE --novst "$@"
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
MASSIF_OPTIONS="$MASSIF_OPTIONS --time-unit=ms"
|
||||
|
||||
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
|
||||
exec valgrind \
|
||||
--tool=massif \
|
||||
exec valgrind --tool=massif \
|
||||
$MASSIF_OPTIONS \
|
||||
$TOP/$EXECUTABLE --novst "$@"
|
||||
|
||||
# analyse output with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue