2014-10-10 09:03:26 -04:00
|
|
|
#!/bin/sh
|
2015-10-27 06:15:34 -04:00
|
|
|
MASSIF_OPTIONS="$MASSIF_OPTIONS --time-unit=ms"
|
2014-11-29 08:42:21 -05:00
|
|
|
|
|
|
|
TOP=`dirname "$0"`/..
|
|
|
|
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
2014-10-10 09:03:26 -04:00
|
|
|
export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
|
2015-10-27 06:15:34 -04:00
|
|
|
exec valgrind --tool=massif \
|
|
|
|
$MASSIF_OPTIONS \
|
2014-10-10 09:03:26 -04:00
|
|
|
$TOP/$EXECUTABLE --novst "$@"
|
2014-10-10 09:24:52 -04:00
|
|
|
|
|
|
|
# analyse output with
|
|
|
|
# ms_print massif.out.<PID>
|
|
|
|
# or check out https://projects.kde.org/projects/extragear/sdk/massif-visualizer
|