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 to compile script spin.d: line 5: mutex_owner( ) argument #1 is i
ncompatible with prototype:
        prototype: struct mtx *
         argument: kmutex_t *


    Dr.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to