summaryrefslogtreecommitdiff
path: root/gtk2_ardour/arcall
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-11-15 02:27:22 +0000
committerCarl Hetherington <carl@carlh.net>2009-11-15 02:27:22 +0000
commit14b993b1890d106a18dc2d1d489070cc806273f5 (patch)
tree619ec4395dc79fc81aa4fc10f608447b4b65288d /gtk2_ardour/arcall
parent2e02e157c30464ccc1cd9d8dc7564d2fabc95e5e (diff)
Add script to run Ardour with callgrind.
git-svn-id: svn://localhost/ardour2/branches/3.0@6090 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/arcall')
-rwxr-xr-xgtk2_ardour/arcall5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/arcall b/gtk2_ardour/arcall
new file mode 100755
index 0000000000..6e5d31784b
--- /dev/null
+++ b/gtk2_ardour/arcall
@@ -0,0 +1,5 @@
+#!/bin/sh
+. `dirname "$0"`/../build/default/gtk2_ardour/ardev_common_waf.sh
+LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
+export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
+exec valgrind --error-limit=no --num-callers=50 --tool=callgrind $TOP/$EXECUTABLE --novst "$@"