svn commit: r185297 - user/netchild/linuxulator-dtrace/src/sys/compat/linux

Roman Divacky rdivacky at FreeBSD.org
Fri Nov 28 07:11:58 PST 2008


On Tue, Nov 25, 2008 at 02:14:58PM +0000, Alexander Leidinger wrote:
> Author: netchild
> Date: Tue Nov 25 14:14:58 2008
> New Revision: 185297
> URL: http://svn.freebsd.org/changeset/base/185297
> 
> Log:
>   First dtrace program to check the balancing of the amul_lock aquire/release.
>   
>   As of now this will show errors, as not all locking/release places are
>   instrumented with dtrace probes.
>   
>   WIP warning: This dtrace script is not even compile tested.

what is the point of this? isnt this already handled by the lock primitive itself?
ie. when you try to acquire mutex twice it panics, when you unlock not locked
mutex it panics....

roman


More information about the svn-src-user mailing list