[DTrace-devel] [PATCH 1/2] test: Add test for option "iregs"

Nick Alcock nick.alcock at oracle.com
Fri Apr 28 16:25:00 UTC 2023


On 9 Mar 2023, eugene loh told this:

> --- /dev/null
> +++ b/test/unittest/options/tst.iregs.r
> @@ -0,0 +1,25 @@
> +7
> +iregs 8 gives 0
> +7
> +iregs 7 gives 0
> +7
> +iregs 6 gives 0
> +iregs 5 gives 1
> +iregs 4 gives 1
> +iregs 3 gives 1

This doesn't seem like very useful behaviour. Why would anyone want to
use this option, I wonder? (Why would anyone ever have wanted to use it
in the DIF days?)

-- 
NULL && (void)



More information about the DTrace-devel mailing list