From: Evan Hunt Date: Sun, 2 Mar 2025 05:03:51 +0000 (-0800) Subject: when recording an rr trace, use libtool X-Git-Tag: v9.18.35~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b6b3ffbff7d57a84eaf311ed51909f304c44d0;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. (cherry picked from commit 00d7c7c3462dd13b0cf003ad825689c218624ff0) --- diff --git a/bin/tests/system/start.pl b/bin/tests/system/start.pl index 904aa9b1e03..a7380757e6b 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 "; }