From 600364259aceaed51c6980878716fa9df44a8f7e Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 3 Sep 2020 12:37:10 -0700 Subject: [PATCH] fixup! Active sockets and handles tracing --- lib/isc/netmgr/netmgr-int.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/isc/netmgr/netmgr-int.h b/lib/isc/netmgr/netmgr-int.h index 1afd1b121b..6cf85731c5 100644 --- a/lib/isc/netmgr/netmgr-int.h +++ b/lib/isc/netmgr/netmgr-int.h @@ -52,8 +52,12 @@ #define ISC_NETMGR_RECVBUF_SIZE (65536) #endif -#define NETMGR_TRACE 1 - +/* + * Define NETMGR_TRACE to activate tracing of handles and sockets. + * This will impair performance but enables us to quickly determine, + * if netmgr resources haven't been cleaned up on shutdown, which ones + * are still in use. + */ #ifdef NETMGR_TRACE #define TRACE_SIZE 8 #endif