On nevada build 93 if I specify anything other than a wild card for the pid 
providers probefunc or probemod dtrace can't find the probes.

So with wild cards I get:

: enoexec.eu FSS 98 $; pfexec /usr/sbin/dtrace -n 'pid$target:::entry {
@[probeprov, probemod, probefunc] = count()
}' -c "getent hosts foobar" | grep gethostbyname
dtrace: description 'pid$target:::entry ' matched 3413 probes
dtrace: pid 26816 has exited
  pid26816                                            libnsl.so.1               
                          _switch_gethostbyname_r                               
            1
  pid26816                                            libnsl.so.1               
                          gethostbyname                                         
            1
  pid26816                                            libnsl.so.1               
                          gethostbyname_r                                       
            1
: enoexec.eu FSS 99 $; 

bug specifying a probefunc:

: enoexec.eu FSS 101 $; pfexec /usr/sbin/dtrace -n 
'pid$target::gethostbyname_r:entry {
@[probeprov, probemod, probefunc] = count()
}' -c "getent hosts foobar" | grep gethostbyname
dtrace: invalid probe specifier pid$target::gethostbyname_r:entry {
@[probeprov, probemod, probefunc] = count()
}: probe description pid27710::gethostbyname_r:entry does not match any probes
: enoexec.eu FSS 102 $; 

On solaris 10u3 it works.


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to