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 = mutex_owner((kmutex_t *) :self-mutex
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
2 matches
Mail list logo