From owner-freebsd-dtrace@FreeBSD.ORG  Tue Oct  8 19:56:52 2013
Return-Path: <owner-freebsd-dtrace@FreeBSD.ORG>
Delivered-To: dtrace@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id 5B06887E
 for <dtrace@freebsd.org>; Tue,  8 Oct 2013 19:56:52 +0000 (UTC)
 (envelope-from pfg@FreeBSD.org)
Received: from nm26.bullet.mail.ne1.yahoo.com (nm26.bullet.mail.ne1.yahoo.com
 [98.138.90.89])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 09E272C80
 for <dtrace@freebsd.org>; Tue,  8 Oct 2013 19:56:51 +0000 (UTC)
Received: from [98.138.226.177] by nm26.bullet.mail.ne1.yahoo.com with NNFMP;
 08 Oct 2013 19:56:50 -0000
Received: from [98.138.84.41] by tm12.bullet.mail.ne1.yahoo.com with NNFMP;
 08 Oct 2013 19:56:50 -0000
Received: from [127.0.0.1] by smtp109.mail.ne1.yahoo.com with NNFMP;
 08 Oct 2013 19:56:50 -0000
X-Yahoo-Newman-Id: 833973.87913.bm@smtp109.mail.ne1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: DFN1kAsVM1nOpV35j99CpGR5x9HLTi0VFe1IJn_spBzt1a6
 4vLSTd4y1JrHLR2J_dw93xlQaAzMLhe7vx7yXXaZxdMUwRMoCT7ob_hFMhB6
 GSd8lS9y7zE4IKRud1y.gWAh8Cf4_KgROhovz9s6ZO6zkJVMLeuPAM71K2WT
 VBC3LEzNkqNZyHeAYyQN_5f.siYZAEC7iVopWEZmh28Ti5c8_5KGGX8F1X4O
 Rj0Li7uUCQoYnEbXExb6wXRJWd7q5xlYFa4W80iblvWI9t1FnOsTenSphXfy
 lL2NP3m3Tnl7UTpC6ZEr_6WS_Nq9PilGmYa_AvK037S_Vdh.S433IT2DAB7v
 bqf0YGsxEVW_pCYzko2ajT6FsIeMK_XDTICGDh80U.maGe3dYKSfYMjpBjYh
 vOMB8wX1ZDCsiyjQVjT_YZ32OCtUvBJ213B3kBet2pz.jb3dcE_RtUz_MgVE
 3BReBxCYVb7iytt7a4VHIsQSDwYrF0_7r2B.l4A5HILhfArPOqqjOQ1TWSdP
 ACvSdUn5cr1MPnq3YT2.GdlIdWR2I3SDFEJjzu3XrcxgjwqBY_UatpYs6Jzw
 KPWvNGf3InKKEYGr.skWXhqfP26tzBkHIsUNkNpbreTblFCRPX6tLS0nh1PB
 3WewnnsfpO4QG9sSLNQyq.CuWltOLllCHeZUK43ppsaAbKTtA_BzxvaleurX
 C7arx7eJAdgJWEtehL7A4obmUR7gU_eNsCsLBt9aSHJeSXzZOP3PwTJGRIpW
 tA8Tq9TyQqs.C7Rjl66BcWw40mbBoyALZirRTOPLZUXVibq.Z10whR4KO1L.
 xPPDzo_m9uBqZA2Ot4f4guj.ilYhST6QQ41gRaSA528oYsy6kg8NXZSr1GsO
 hQohNPMK0ve7x.UUiI2Y7KlCspNUcBxtPYEL3gP7rFgpA6uYEhKYKrMW9xAz
 SAuFoy_AawPSaly_jZg54GiY4ORQ1EuNI1MZTMAbs7l32GhQNtqZrQydT8PT
 edUGKNqcls49RHrw4lUlCyZy57M.eqdx1
X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf
X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with )
 by smtp109.mail.ne1.yahoo.com with SMTP; 08 Oct 2013 12:56:50 -0700 PDT
Message-ID: <52546385.2050203@FreeBSD.org>
Date: Tue, 08 Oct 2013 14:56:53 -0500
From: Pedro Giffuni <pfg@FreeBSD.org>
Organization: FreeBSD
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64;
 rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: dtrace@FreeBSD.org
Subject: Dtrace providers wanted list
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-dtrace@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "A discussion list for developers working on DTrace in FreeBSD."
 <freebsd-dtrace.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-dtrace>, 
 <mailto:freebsd-dtrace-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-dtrace>
List-Post: <mailto:freebsd-dtrace@freebsd.org>
List-Help: <mailto:freebsd-dtrace-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace>,
 <mailto:freebsd-dtrace-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Oct 2013 19:56:52 -0000

Hello;

Sometime ago I looked around the list of Oracle's DTrace providers.

https://wikis.oracle.com/display/DTrace/Providers

We absolutely want them and although extremely useful as it is, DTrace 
won't be complete until we have them all ;). For the time being we 
should probably focus on getting the really critical ones though.

The first in the list that we don't have that I think is critical is 
mentioned in Brendan Gregg's FreeBSD specific blog post:

http://dtrace.org/blogs/brendan/2013/09/25/the-use-method-freebsd-performance-checklist/

"Tracing paging is tricker until the vminfo provider is added; you could 
try tracing from swap_pager_putpages() and swap_pager_getpages(), but I 
didn’t see an easy way to walk back to a thread struct; another approach 
may be via vm_fault_hold(). Good luck. ..."


Next in the list would be a scsi provider. I came out with this 
introductory post to the scsi list a while ago:

http://docs.freebsd.org/cgi/mid.cgi?51870B8F.5040306

There is more documentation on the net for the specific iscsi provider. 
For example:

http://dtrace.org/blogs/ahl/2007/07/04/iscsi-dtrace-provider-and-more-to-come/
http://www.solarisinternals.com/wiki/index.php/DTrace_Topics_iSCSI


The third critical provider that IMHO we must have is the CPU 
Performance Counter (CPC) Provider:
https://blogs.oracle.com/jonh/entry/finally_dtrace_meets_the_cpu

This is closely related to pmc(3) but obviously our implementation is 
completely different from the Solaris one.


Well, just though I should share the above links in the hope of 
motivating more DTrace provider porting. At this time our base Dtrace 
port is pretty good but we have the chicken and egg problem where 
developers don't know how useful DTrace really is because there is no 
provider for their code.

Cheers,

Pedro.