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 
> arguments to dtrace:
> $ dtrace -n PID:libc:malloc
>     
>           for example, I defined a function called fun1() and I 'd like to 
> debug fun1() with dtrace to know how many times fun1() is called, total time 
> taken for execution, how many system calls fun1() called.
>       could anyone pls suggest me...
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to