Hi,
 
Thanks for your reply. I downloaded the DVM. I'm trying to run dtrace on a 
standalone, looping, "Hello World!" application, but I get the error "dtrace: 
no probes specified". Do you have any idea about this error?
 
This is what I do to run the trace -
 
1. I have a script file I run before running dtrace (please see below). The 
libdvmpi.so file is in the path LD_LIBRARY_PATH.
___________________________________________________
#!/bin/sh
LD_LIBRARY_PATH=/usr/home/wluser/dvm/
JAVA_TOOL_OPTIONS=-Xrundvmpi:all
export LD_LIBRARY_PATH
export JAVA_TOOL_OPTIONS
___________________________________________________
 
2. I run the "Hello World" application in a loop.
 
3. I have a dtrace script as follows -
______________________________________________________
#!/usr/sbin/dtrace -s
dvm$target:::method-entry
{
self->ts[copyinstr(arg0),copyinstr(arg1)] = vtimestamp;
}
dvm$target:::method-return
{
@ts[copyinstr(arg0),copyinstr(arg1)] = sum(vtimestamp -
self->ts[copyinstr(arg0),copyinstr(arg1)]);
printf("className %s method name %s", copyinstr(arg0), copyinstr(arg1));
}
______________________________________________________
 
I run the above script by executing the command -
$> sudo dtrace ./<above_script>.d

4. I get the following error message -
"dtrace: no probes specified"
 
Could you please help me in finding out the solution to this problem?
 
Thanks in advance!


      
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to