ardour runs fine in rr version 4.4.0, add scripts

This commit is contained in:
Robin Gareus 2017-01-21 23:10:33 +01:00
parent ddeaa6c52d
commit 198ba51c3a
2 changed files with 24 additions and 0 deletions

14
gtk2_ardour/arrr Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
# echo 1 | sudo tee /proc/sys/kernel/perf_event_paranoid
TOP=`dirname "$0"`/..
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
export ARDOUR_INSIDE_GDB=1
if test -z "`which rr`"; then
echo "rr was not found."
exit
fi
exec rr record $TOP/$EXECUTABLE "$@"
# trace is in ~/.local/share/rr/latest-trace/
# ./arrr-replay

10
gtk2_ardour/arrr-replay Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
TOP=`dirname "$0"`/..
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
export ARDOUR_INSIDE_GDB=1
if test -z "`which rr`"; then
echo "rr was not found."
exit
fi
exec rr replay "$@"