Thanks!  That seems to work.

FWIW, recursion also seems to work.  Eg:

fbt::driver_send:entry
/arg1 != 0/
{
this->mp = (mblk_t *)arg1;
this->size = this->mp->b_wptr - this->mp->b_rptr;
this->count=1;
}

fbt::driver_send:entry
/this->mp && this->mp->b_cont/
{
this->mp = this->mp->b_cont;
this->size += this->mp->b_wptr - this->mp->b_rptr;
this->count++;
}

Thanks again,

Drew


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to