15 lines
465 B
Bash
Executable File
15 lines
465 B
Bash
Executable File
#!/bin/sh
|
|
MASSIF_OPTIONS="$MASSIF_OPTIONS --time-unit=ms"
|
|
MASSIF_OPTIONS="$MASSIF_OPTIONS --threshold=0.2 --peak-inaccuracy=0.2 --max-snapshots=500"
|
|
|
|
TOP=`dirname "$0"`/..
|
|
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
|
export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
|
|
exec valgrind --tool=massif \
|
|
$MASSIF_OPTIONS \
|
|
$TOP/$EXECUTABLE "$@"
|
|
|
|
# analyse output with
|
|
# ms_print massif.out.<PID>
|
|
# or check out https://projects.kde.org/projects/extragear/sdk/massif-visualizer
|