From owner-freebsd-scsi@FreeBSD.ORG Mon May 6 02:27:00 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3FCF656A; Mon, 6 May 2013 02:27:00 +0000 (UTC) (envelope-from ken@kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.freebsd.org (Postfix) with ESMTP id 0E16B980; Mon, 6 May 2013 02:26:59 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.14.2) with ESMTP id r462QrcM050001; Sun, 5 May 2013 20:26:53 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id r462QqJd050000; Sun, 5 May 2013 20:26:52 -0600 (MDT) (envelope-from ken) Date: Sun, 5 May 2013 20:26:52 -0600 From: "Kenneth D. Merry" To: Pedro Giffuni Subject: Re: Reference documentation for a scsi DTrace provider. Message-ID: <20130506022652.GA49892@nargothrond.kdm.org> References: <51870B8F.5040306@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51870B8F.5040306@FreeBSD.org> User-Agent: Mutt/1.4.2i Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 02:27:00 -0000 On Sun, May 05, 2013 at 20:46:55 -0500, Pedro Giffuni wrote: > 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. Why do the NFS providers depend on an iSCSI provider? > 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, It is, thanks! It would be great to have a SCSI provider, and an iSCSI provider to go along with the iSCSI work that Edward Napierala is doing. I don't have the time, but perhaps someone else will. Ken -- Kenneth Merry ken@FreeBSD.ORG