Reference documentation for a scsi DTrace provider.

Pedro Giffuni pfg at FreeBSD.org
Mon May 6 01:49:48 UTC 2013


Hello;

By the way Solaris implemented some DTrace providers it looks like we 
need a scsi provider as a starting point for a iscsi provider, which in
turn (plus the IP provider) is also a requirement to get NFSv4/NFSv3
providers.

I suspect there may be some interest on having a scsi DTrace provider
for it's own purposes, so JIC someone wants to try and at least for
documentation purposes I will share some links I found on how it was
done for OpenSolaris.

The original commit in OpenSolaris seems to have been this:

https://bitbucket.org/illumos/illumos-gate/commits/c4b38ec17f4eaacad8868141411d7b513910ad4a

Then there is an interesting blog posting that accompanies it:

"Adding a Dtrace provider to the kernel"
https://blogs.oracle.com/chrisg/entry/adding_a_dtrace_provider_to

And some general introductory documentation for reference:

http://www.ibm.com/developerworks/aix/library/au-dtraceprobes.html

https://wiki.freebsd.org/DTrace/HowToAddSDTProbes

Hope someone finds this helpful,

Pedro.


More information about the freebsd-scsi mailing list