summaryrefslogtreecommitdiff
path: root/gtk2_ardour/arrr
blob: 74861af7da82a7bfa99d0e222842b450d381584d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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