[dtrace-discuss] help

Kodnani_Mohnish at emc.com
Thu, 05 Apr 2007 00:35:01 -0000

Hi ,
I am new to Dtrace and wanted to trace a C++ function.
The function definition is as follows ::
DBConnection::ExecSQL( const DBString& sql)

I wanted to print the value of the argument  that is passed i.e "sql"
on
the entry probe.
DBString is a custom string class.


Can somebody please tell me how to do this.
I have tried printing arg0.


Mohnish Kodnani
Software Engineer
EMC CORPORATION
Ph: 925-600-6067