[osol-code] How do I check what all libraries my program is using....!

2007-08-08 Thread rps
Hi, Is there any way to findout what all the libraries my program is using. I use 'nm' to find out names from the object file but I dont have any idea to findout libraries used by my prog. can somebody help me out in this... This message posted from opensolaris.org

[osol-code] User defined functions call from Dtrace...!

2007-08-03 Thread rps
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(