bind9/tests
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
..
bench Improve qp-trie refcount debugging 2023-02-27 13:47:57 +00:00
dns Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
include/tests Test infrastructure for the qp-trie 2023-02-27 13:47:25 +00:00
irs Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
isc remove isc_task completely 2023-02-16 18:35:32 +01:00
isccfg Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
libtest Refactor qp-trie to use QSBR 2023-02-27 13:47:55 +00:00
ns remove isc_task completely 2023-02-16 18:35:32 +01:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Tests and benchmark for isc_ascii 2022-09-12 12:23:39 +01:00
unit-test-driver.sh.in Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00