mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 04:09:59 -04:00
Add support for recording named runtime with rr
The traces of the named process are stored in the directory
$system_test/nsX/named-Y/.
(cherry picked from commit e088e8a992)
This commit is contained in:
parent
b83b9dc2c6
commit
72760c0c2b
2 changed files with 11 additions and 0 deletions
|
|
@ -710,6 +710,14 @@ or SEQUENTIAL variables.
|
|||
need to edit multiple files to add a test.)
|
||||
|
||||
|
||||
rr
|
||||
---
|
||||
|
||||
When running system tests, named can be run under the rr tool. rr records a
|
||||
trace to the $system_test/nsX/named-Y/ directory, which can be later used to
|
||||
replay named. To enable this, execute start.pl with the USE_RR environment
|
||||
variable set.
|
||||
|
||||
Developer Notes for pytest runner
|
||||
===
|
||||
|
||||
|
|
|
|||
|
|
@ -232,6 +232,9 @@ sub construct_ns_command {
|
|||
|
||||
if ($taskset) {
|
||||
$command = "taskset $taskset $NAMED ";
|
||||
} elsif ($ENV{'USE_RR'}) {
|
||||
$ENV{'_RR_TRACE_DIR'} = ".";
|
||||
$command = "rr record --chaos $NAMED ";
|
||||
} else {
|
||||
$command = "$NAMED ";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue