[RFT] llquantize for FreeBSD's dtrace

Pedro Giffuni pfg at freebsd.org
Sat Jun 23 18:09:08 UTC 2012



--- Sab 23/6/12, Fabian Keil <freebsd-listen at fabiankeil.de> ha scritto:
...
> > My suggestion would be to instead try using the test
> > scripts in
> >
> cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/llquantize/
> > 
> > err.D_LLQUANT_FACTORSMALL.d (for example) has
> > 
> > @ = llquantize(0, 1, 0, 10, 10);
> 
> The problem appears to be unrelated to the syntax change:
> 
> fk at r500
> /usr/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/llquantize
> $sudo dtrace -s err.D_LLQUANT_FACTORSMALL.d
> Assertion failed: (!(arg & (UINT16_MAX <<
> args[i].shift))), file
> 

It's a different assertion.

Probably some difference between Solaris and BSD.
this is very useful, thanks!

Pedro.



More information about the freebsd-current mailing list