I want to trace all the functions which an application calls. Here, I am not looking for system calls, but the library API's mainly.
I have tried truss, it is not showing some library API's which I am expecting. Is there any tool in solaris like 'ltrace' in linux which traces library calls? Does dtrace gives this info?
There are two ways to get what you want:
sotrussThe
sotrussutilityThe
sotrussutility documentation:DTrace pid provider
Per the Solaris 10 DTrace guide:
Also see Brendan Gregg's blog for some more DTrace information: