Displaying 1 result from an estimated 1 matches for "devnamesp".
Did you mean:
devnames
2005 Oct 18
1
Error while using sdt interrupt-complete.
...course)
Thanks for any pointers,
-ps
intr.d from the SDT provider chapter in the guide.
-------------------------------------------------
interrupt-start
{
self->ts = vtimestamp;
}
interrupt-complete
/self->ts/
{
this->devi = (struct dev_info *)arg0;
@[stringof(`devnamesp[this->devi->devi_major].dn_name),
this->devi->devi_instance] = quantize(vtimestamp - self->ts);
}
output on running:
------------------
bash-3.00# dtrace -s ./intr.d > /tmp/dt.out 2>&1
bash-3.00# more /tmp/dt.out
dtrace: script ''./intr.d'' m...