Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mpl/bind/dist/lib/isc Add some more debugging to co...



details:   https://anonhg.NetBSD.org/src/rev/4e014d6c8b1c
branches:  trunk
changeset: 359913:4e014d6c8b1c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 30 19:49:30 2022 +0000

description:
Add some more debugging to collect information about the sequence of events.

diffstat:

 external/mpl/bind/dist/lib/isc/hp.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 1231a1e15c63 -r 4e014d6c8b1c external/mpl/bind/dist/lib/isc/hp.c
--- a/external/mpl/bind/dist/lib/isc/hp.c       Sun Jan 30 19:47:04 2022 +0000
+++ b/external/mpl/bind/dist/lib/isc/hp.c       Sun Jan 30 19:49:30 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hp.c,v 1.6 2022/01/30 18:54:52 christos Exp $  */
+/*     $NetBSD: hp.c,v 1.7 2022/01/30 19:49:30 christos Exp $  */
 
 /*
  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -108,6 +108,9 @@
        hp->hp = isc_mem_get(mctx, isc__hp_max_threads * sizeof(hp->hp[0]));
        hp->rl = isc_mem_get(mctx, isc__hp_max_threads * sizeof(hp->rl[0]));
 
+       syslog(LOG_ERR, "%s: max_hps=%zu max_threads=%d", __func__, max_hps,
+           isc__hp_max_threads);
+
        for (int i = 0; i < isc__hp_max_threads; i++) {
                hp->hp[i] = isc_mem_get(mctx, CLPAD * 2 * sizeof(hp->hp[i][0]));
                hp->rl[i] = isc_mem_get(mctx, sizeof(*hp->rl[0]));



Home | Main Index | Thread Index | Old Index