Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Server & Storage Systems
This discussion is archived
on Dec 28, 2009 6:02 AM by 807559
dtrace user level tracing problem
Dec 22, 2006 12:19 PM
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 6: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