[mdb-discuss] How to change the default stack depth got by '::findleaks -d'

2006-06-21 Thread Frank Hofmann
Hi Yandong, the variable 'umem_stack_depth' (defaults to 15) controls the default number of frames recorded. You can increase that value up to a maximum of UMEM_MAX_STACK_DEPTH. See the umem sourcecode, http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libumem/common/umem_impl.h http://cvs.

[mdb-discuss] How to change the default stack depth got by '::findleaks -d'

2006-06-21 Thread Jonathan Adams
On Wed, Jun 21, 2006 at 06:43:28PM +0200, Frank Hofmann wrote: > Hi Yandong, > > the variable 'umem_stack_depth' (defaults to 15) controls the default > number of frames recorded. You can increase that value up to a maximum of > UMEM_MAX_STACK_DEPTH. See the umem sourcecode, > ... > > I'm not s

[mdb-discuss] How to change the default stack depth got by '::findleaks -d'

2006-06-21 Thread Jonathan Adams
On Wed, Jun 21, 2006 at 03:01:40AM -0700, yandong yao wrote: > Hi guys, > when i use libumem and mdb to find memory leaks, use below command: ... > it seems that the default call stack depth is 15, thus i can't see > 'main' in the first case while i can see it in the second case. How > can i

[mdb-discuss] How to change the default stack depth got by '::findleaks -d'

2006-06-21 Thread yandong yao
Hi guys, when i use libumem and mdb to find memory leaks, use below command: - > ::findleaks -d BYTES LEAKED VMEM_SEG CALLER 8192 1 f7afa000 MMAP