Displaying 1 result from an estimated 1 matches for "devi_inst".
Did you mean:
dev_init
2005 Oct 18
1
Error while using sdt interrupt-complete.
...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'' matched 2 probes
dtrace: error on enabled probe ID 2 (ID 473:
sdt:unix:av_dispat...