Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Server & Storage Systems
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Dec 28, 2009 12:02 AM by
dtrace user level tracing problem
Dec 22, 2006 6:19 AM
I am trying to trace user level functions using dtrace , Here is my dtrace script
self->trace = 1;
self->trace = 0;
When I run the following command
dtrace -F -s tracecalls.d 4968 f1
It does not find the function f1
Has anyone tried to use dtrace to debug user level functions on Intel x86 solaris version.
Thanks in advance.
This content has been marked as final.
Show 1 reply
Re: dtrace user level tracing problem
Dec 28, 2009 12:02 AM
in response to
You should the mangled name of your function "f1" in the binary. The same name should be given as input to your dtrace program.
Like for example :
nm a.out | grep f1
 | 82512| 20|FUNC |GLOB |0 |9 |_Z2f1v
use : dtrace -F -s tracecalls.d 4968 _Z2f1v