Hi all, There is one command in solaris called jmplay which starts java media player. When I am trying to rum my script as follows:- dtrace -s ./dvmThread.d -c jmplay It gives following error. dtrace: failed to compile script ./dvmThread.d: line 3: probe description dvm16784:::thread-start does not match any probes But when I run jmplay separately and then by giving its pid, same script runs successfully. Script source is as follows:- #!/usr/sbin/dtrace -s #pragma D option quiet dvm$target:::* { printf("Probename :- %s\n", probename); } Can anyone please tell me what is going wrong? Thanks, Ajit -- This message posted from opensolaris.org
Hi Ajit: Try the -Z option. Basically the dvm probes take a little time to initialize. The -Z will allow you to turn on probes that are yet to be initialized. HTHs Angelo Ajit Bansode wrote:> Hi all, > There is one command in solaris called jmplay which starts java media player. > > When I am trying to rum my script as follows:- > dtrace -s ./dvmThread.d -c jmplay > > It gives following error. > dtrace: failed to compile script ./dvmThread.d: line 3: probe description dvm16784:::thread-start does not match any probes > > But when I run jmplay separately and then by giving its pid, same script runs successfully. > > Script source is as follows:- > #!/usr/sbin/dtrace -s > #pragma D option quiet > dvm$target:::* > { > printf("Probename :- %s\n", probename); > } > > Can anyone please tell me what is going wrong? > > Thanks, > Ajit > > > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org >