Re: mutex_owner

2013-02-06 Thread Andrey Zonov
On 2/5/13 6:37 PM, Dr. Baud wrote: > All, > > Anyone use mutex_owner in a dtrace script, as the obvious does not work > for me: > > Content of spin.d: > > #!/usr/sbin/dtrace -qs > > :::*spin > { > self->mutex = (kmutex_t *) arg0; > self->

mutex_owner

2013-02-05 Thread Dr. Baud
All, Anyone use mutex_owner in a dtrace script, as the obvious does not work for me:     Content of spin.d: #!/usr/sbin/dtrace -qs :::*spin { self->mutex = (kmutex_t *) arg0; self->mutex_owner = mutex_owner((kmutex_t *) :self->mutex); } # dtrace -s spin.d dtrace: failed t