bind9/tests/dns
Ondřej Surý cd632ad31d
Implement dns_db node tracing
This implements node reference tracing that passes all the internal
layers from dns_db API (and friends) to increment_reference() and
decrement_reference().

It can be enabled by #defining DNS_DB_NODETRACE in <dns/trace.h> header.

The output then looks like this:

    incr:node:check_address_records:rootns.c:409:0x7f67f5a55a40->references = 1
    decr:node:check_address_records:rootns.c:449:0x7f67f5a55a40->references = 0

    incr:nodelock:check_address_records:rootns.c:409:0x7f67f5a55a40:0x7f68304d7040->references = 1
    decr:nodelock:check_address_records:rootns.c:449:0x7f67f5a55a40:0x7f68304d7040->references = 0

There's associated python script to find the missing detach located at:
https://gitlab.isc.org/isc-projects/bind9/-/snippets/1038
2023-02-28 11:44:15 +01:00
..
comparekeys Remove non-sensical RSA key compare tests 2023-01-09 14:59:56 +01:00
testdata Update "dns" unit test's test data .gitignore file 2022-08-09 08:19:51 +00:00
testkeys Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
.gitignore Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
acl_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
db_test.c Support for relative names in unit tests 2023-02-27 13:47:25 +00:00
dbdiff_test.c Properly adjust the srcdir vs builddir paths 2022-06-01 17:08:37 +02:00
dbiterator_test.c Properly adjust the srcdir vs builddir paths 2022-06-01 17:08:37 +02:00
dbversion_test.c Extend dns_db_allrdatasets to control interation results 2022-12-07 22:20:02 +00:00
dh_test.c Properly adjust the srcdir vs builddir paths 2022-06-01 17:08:37 +02:00
dispatch_test.c remove nonfunctional DSCP implementation 2023-01-09 12:15:21 -08:00
dns64_test.c dns_rdatalist_tordataset() and dns_rdatalist_fromrdataset() can not fail 2022-08-09 08:19:51 +00:00
dnstap_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
dst_test.c Remove non-sensical RSA key compare tests 2023-01-09 14:59:56 +01:00
geoip_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
Kdh.+002+18602.key Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
keytable_test.c Support for relative names in unit tests 2023-02-27 13:47:25 +00:00
Krsa.+008+29238.key Check if RSASHA1 is supported by the OS 2022-08-09 16:22:19 +02:00
Makefile.am Test the qp-trie transactional API 2023-02-27 13:47:25 +00:00
master_test.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
mkraw.pl Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
name_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
nsec3_test.c Properly adjust the srcdir vs builddir paths 2022-06-01 17:08:37 +02:00
nsec3param_test.c Properly adjust the srcdir vs builddir paths 2022-06-01 17:08:37 +02:00
private_test.c Update clang to version 14 2022-06-16 17:21:11 +02:00
qp_test.c Refactor qp-trie to use QSBR 2023-02-27 13:47:55 +00:00
qpmulti_test.c Improve qp-trie refcount debugging 2023-02-27 13:47:57 +00:00
rbt_test.c Support for relative names in unit tests 2023-02-27 13:47:25 +00:00
rbtdb_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
rdata_test.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
rdataset_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
rdatasetstats_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
resolver_test.c move dispatchmgr from resolver to view 2023-02-24 08:30:33 +00:00
rsa_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
sigs_test.c Properly adjust the srcdir vs builddir paths 2022-06-01 17:08:37 +02:00
time_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
tsig_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
update_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
zonemgr_test.c remove isc_task completely 2023-02-16 18:35:32 +01:00
zt_test.c remove isc_task completely 2023-02-16 18:35:32 +01:00