Pid provider

Mark Johnston markj at FreeBSD.org
Sat Oct 4 19:25:15 UTC 2014


On Thu, Sep 11, 2014 at 05:46:37PM +0400, Anton Yuzhaninov wrote:
> 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.

This is fixed by r272455:
https://svnweb.freebsd.org/base?view=revision&revision=272455


More information about the freebsd-dtrace mailing list