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 the program, how do I know how much time 
control struct in a function(I used "self->ts[probefunc]=timestamp" statement. 
the result is in nano seconds. but how do I know what is the idle time/best 
time for that particular function execution).
I have written a simple C program which allocates memory by calling "malloc" 
function as:

char *p1; char *p2;
p1=(char*)malloc(1024);
p2=(char*)malloc(1024);

I ran Dtrace for the same, the output shown as "malloc called 22 times..."
how does this output helps me to debug my prog...

can someone help me on the proper usage of dtrace.....
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to