Yaniv Aknin wrote:

> It looks to me a lot like a conditional program flow (first we calculate
>  the duration, then we commit() the speculation if duration is > limit and
> discard() it otherwise) rather than discrete probes that fire
> independently. I read the manual as saying that conditional flow isn't
> possible in D, but I could have been wrong. What guarantees that the last
> free probes will fire in order, producing an IF-THEN-ELSE logic? If nothing
> guarantees that - why does the script work?

that's exactly the point. Otherwise identical probes with different 
predicates fire in the order encountered in the script.

is there a reason you took dtrace-discuss off the distribution list?

cheers
Michael
-- 
Michael Schuster
Recursion, n.: see 'Recursion'
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to