2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

2346. [func] Memory statistics now cover all active memory contexts

in increased detail. [RT #17580]
This commit is contained in:
Mark Andrews
2008-03-31 05:00:30 +00:00
parent 7405bdffd4
commit cffe96e267
12 changed files with 319 additions and 116 deletions

View File

@@ -31,7 +31,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.11 2007/08/28 07:20:42 tbox Exp $
* $Id: dst_api.c,v 1.12 2008/03/31 05:00:30 marka Exp $
*/
/*! \file */
@@ -162,6 +162,7 @@ dst_lib_init(isc_mem_t *mctx, isc_entropy_t *ectx, unsigned int eflags) {
NULL, &dst__memory_pool, 0);
if (result != ISC_R_SUCCESS)
return (result);
isc_mem_setname(dst__memory_pool, "dst", NULL);
isc_mem_setdestroycheck(dst__memory_pool, ISC_FALSE);
#else
isc_mem_attach(mctx, &dst__memory_pool);