Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2014 12:25:11 -0700
From:      Mark Johnston <markj@FreeBSD.org>
To:        Anton Yuzhaninov <citrin+bsd@citrin.ru>
Cc:        freebsd-dtrace@freebsd.org
Subject:   Re: Pid provider
Message-ID:  <20141004192511.GD22999@charmander.picturesperfect.net>
In-Reply-To: <5411A7BD.7020705@citrin.ru>
References:  <5411A7BD.7020705@citrin.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141004192511.GD22999>