bind9/lib/ns
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
..
include remove named_os_gethostname() 2023-02-18 20:23:41 +00:00
client.c remove named_os_gethostname() 2023-02-18 20:23:41 +00:00
hooks.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
interfacemgr.c remove isc_task completely 2023-02-16 18:35:32 +01:00
listenlist.c remove nonfunctional DSCP implementation 2023-01-09 12:15:21 -08:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am remove isc_task completely 2023-02-16 18:35:32 +01:00
notify.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
query.c Implement dns_db node tracing 2023-02-28 11:44:15 +01:00
server.c add an update quota 2023-01-12 11:52:48 +01:00
sortlist.c remove some unused functions 2023-02-13 11:50:59 -08:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
update.c refactor update processing to use loop callbacks 2023-02-16 16:34:20 +01:00
xfrout.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00