Pid provider

Anton Yuzhaninov citrin+bsd at citrin.ru
Thu Sep 11 13:46:47 UTC 2014


Is PID provider is usable in FreeBSD?

I try to list probes with

dtrace -ln 'pid$target:::entry' -p NNN

And for most processes no function from main binary shown (only functions from 
shared libraries are listed). For some only some functions are shown, e. g. for 
tcsh only two functions shown:
    ID   PROVIDER            MODULE                          FUNCTION NAME
61372   pid57232              tcsh                              glob entry
61373   pid57232              tcsh                          globfree entry

Also there is bug_or_feature: examined process terminated if dtrace command 
terminated, e. g. run:
dtrace -ln 'pid$target:::entry' -p XX | less
then type q to quit from less - process with pid XX will be terminated.


More information about the freebsd-dtrace mailing list