HI Ravi,
If you want to find memory leaks, you may try to see the difference
between number of mallocs and number of frees.
However you may find libumem/dbx more handy, atleast to begin with in
finding memory leaks and memory corruption issues. Towards the end of
the following article
http://ja
Hi,
May be my question looks silly but I wanna get clarified with experts.
I have written several D language scripts which generated lots of output
to all my programs.
the question is, how does this output helps me to debug my programs. what I
mean is, how do I find memory leaks in
Thanx suraj,
it really helped me to debug my programs...
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
This should help.
http://www.sun.com/software/solaris/howtoguides/dtracehowto.jsp
Specifically , point 3 and 6
Thanks
Suraj
rps wrote:
> Hi,
>How I do check how many times a user defined function is called, by using
> dtrace. I did from the command line by passing library and system call as
Hi,
How I do check how many times a user defined function is called, by using
dtrace. I did from the command line by passing library and system call as
arguments to dtrace:
$ dtrace -n PID:libc:malloc
for example, I defined a function called fun1() and I 'd like to
debug fun1(