13
0
livetrax/gtk2_ardour/armass

15 lines
465 B
Plaintext
Raw Normal View History

#!/bin/sh
2015-10-27 06:15:34 -04:00
MASSIF_OPTIONS="$MASSIF_OPTIONS --time-unit=ms"
2017-01-20 07:50:10 -05:00
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
2015-10-27 06:15:34 -04:00
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