Hi Ajit, Take a look at this https://solaris10-dtrace-vm-agents.dev.java.net/ In this you can find that arg0 gives the class name and arg1 gives the function name in method-entry probe. So with that you can write a predicate having, copyinstr(arg1) == "Sleep" in the method-entry probe.
Hope this helps, Krishnan On Mon, 2009-05-18 at 01:23 -0700, Ajit Bansode wrote: > Hi Krishnan, > I recorded all the things. I didn't find anything near "sleep". > Following is the list. > Prov Mod Func Name > dvm9766 libdvmti.so cbVMDeath vm-death > dvm9766 libdvmti.so cbVMInit vm-init > dvm9766 libdvmti.so cbThreadEnd thread-end > dvm9766 libdvmti.so cbThreadStart thread-start > dvm9766 libdvmti.so cbException exception-throw > dvm9766 libdvmti.so cbExceptionCatch exception-catch > dvm9766 libdvmti.so cbClassFileLoadHook class-load > dvm9766 libdvmti.so track_allocation object-alloc > dvm9766 libdvmti.so _method_exit method-return > dvm9766 libdvmti.so _method_entry method-entry > > > Also, Java version is > > java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) > Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode) > > Thanks, > Ajit _______________________________________________ dtrace-discuss mailing list [email protected]
