]> git.ipfire.org Git - thirdparty/bind9.git/commit
Improve qp-trie refcount debugging
authorTony Finch <fanf@isc.org>
Fri, 17 Feb 2023 18:28:24 +0000 (18:28 +0000)
committerTony Finch <fanf@isc.org>
Mon, 27 Feb 2023 13:47:57 +0000 (13:47 +0000)
commita8b29f0365ff0c8650ffe996173e9e1f967c83aa
treec8a872c0e43de1afda72493dbd9ddc3df97bea03
parent7dcde5d2fc43cbc676f3d0eeb8514d453e1b2bc4
Improve qp-trie refcount debugging

Add some qp-trie tracing macros which can be enabled by a
developer. These print a message when a leaf is attached or
detached, indicating which part of the qp-trie implementation
did so. The refcount methods must now return the refcount value
so it can be printed by the trace macros.
fuzz/dns_qp.c
lib/dns/include/dns/qp.h
lib/dns/qp_p.h
tests/bench/load-names.c
tests/bench/qp-dump.c
tests/bench/qpmulti.c
tests/dns/qpmulti_test.c