Hi Akhil,
You can print variables inside a funtion using dtrace only if there is a dtrace probe 'exposing' it. If this is an application for which you have source, then you could add USDT probes in it. See http://blogs.sun.com/barts/entry/putting_user_defined_dtrace_probe for adding probes into your application.

I am CCing dtrace-discuss@opensolaris.org to this mail, as it is a more appropriate alias for your question.

HTH,
Krishnan

On 07/23/09 10:41, Akhil Jain wrote:
Hi All,

Just want to know is there any way I can print variables used inside a function using dtrace ?

Thanks
Akhil

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org
  • Re: [dtrace-di... krishnan parthasarathi - Sun Microsystems - Bangalore India

Reply via email to