From 1769b20dd1584c1dcec6f0d245453fc4022f612b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 26 Mar 2022 22:34:37 -0600 Subject: [PATCH] arcall: use dedicated directory for output, and add --dump-instr=yes --- gtk2_ardour/arcall | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/arcall b/gtk2_ardour/arcall index ca12ede717..d2adea1bd2 100755 --- a/gtk2_ardour/arcall +++ b/gtk2_ardour/arcall @@ -3,6 +3,9 @@ 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 + +mkdir -p ./ardour_profile-$$ + exec valgrind \ --error-limit=no --num-callers=50 \ --tool=callgrind \ @@ -10,5 +13,7 @@ exec valgrind \ --separate-threads=yes \ --collect-systime=yes \ --collect-jumps=yes \ + --dump-instr=yes \ --instr-atstart=no \ - $TOP/$EXECUTABLE --novst "$@" + --callgrind-out-file=./ardour_profile-$$/ardour-%p.log \ + $TOP/$EXECUTABLE "$@"