Thanks for the info,
i have to modify the dtrace script (see below), and I am not
sure if the time statement is ok. Timestamp is in nanoseconds,
so I think correct is "...((timestamp - self->follow) > [b]50000[/b])/" ??
But I'm happy, I have the first results (without timestamp) and now
I try to understand the results. I see some kernel modules involved
in my ioctl function, but no ddi_getxx??
Where can I find more details to understand the results?
Result:
1 40113 ipe_ioctl:return
genunix`cdev_ioctl+0x1d
specfs`spec_ioctl+0x50
genunix`fop_ioctl+0x25
genunix`ioctl+0xac
unix`_sys_sysenter_post_swapgs+0x14b
1 40113 ipe_ioctl:return
genunix`cdev_ioctl+0x1d
specfs`spec_ioctl+0x50
genunix`fop_ioctl+0x25
genunix`ioctl+0xac
unix`_sys_sysenter_post_swapgs+0x14b
1 40113 ipe_ioctl:return
genunix`cdev_ioctl+0x1d
specfs`spec_ioctl+0x50
genunix`fop_ioctl+0x25
genunix`ioctl+0xac
unix`_sys_sysenter_post_swapgs+0x14b
----------------------------------------------------------------------
dtrace script:
# pragma D option bufsize=12g
# pragma D option specsize=10g
# pragma D option switchrate=10hz
fbt:ipe:ipe_ioctl:entry
{
self->follow = timestamp;
self->spec = speculation();
}
fbt:ipe:ipe_ioctl:return
/self->spec && self->follow && ((timestamp - self->follow) > 50)/
{
speculate(self->spec);
stack(10);
commit(self->spec);
discard(self->spec);
}
--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]