From: Evan Hunt Date: Sun, 2 Mar 2025 05:03:51 +0000 (-0800) Subject: when recording an rr trace, use libtool X-Git-Tag: ondrej/lock-free-qpzone-reads-v1~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00d7c7c3462dd13b0cf003ad825689c218624ff0;p=thirdparty%2Fbind9.git when recording an rr trace, use libtool when running a system test with the USE_RR environment variable set to 1, an rr trace is generated for named. because rr wasn't run using libtool --mode=execute, the trace would actually be generated for the wrapper script generated by libtool, not for the actual named binary. --- diff --git a/bin/tests/system/start.pl b/bin/tests/system/start.pl index f8faac91a76..9110b5231aa 100755 --- a/bin/tests/system/start.pl +++ b/bin/tests/system/start.pl @@ -234,7 +234,7 @@ sub construct_ns_command { $command = "taskset $taskset $NAMED "; } elsif ($ENV{'USE_RR'}) { $ENV{'_RR_TRACE_DIR'} = "."; - $command = "rr record --chaos $NAMED "; + $command = "$ENV{'TOP_BUILDDIR'}/libtool --mode=execute rr record --chaos $NAMED "; } else { $command = "$NAMED "; }