From owner-freebsd-dtrace@FreeBSD.ORG Thu Aug 22 15:36:14 2013 Return-Path: Delivered-To: freebsd-dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 832B83D1; Thu, 22 Aug 2013 15:36:14 +0000 (UTC) (envelope-from gnn@freebsd.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 57B9D25B1; Thu, 22 Aug 2013 15:36:14 +0000 (UTC) Received: from [38.105.238.108] (port=53895 helo=gnnmac.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VCWvk-000619-BV; Thu, 22 Aug 2013 11:36:12 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: DTrace network providers From: George Neville-Neil In-Reply-To: <20130821045926.GA17196@raichu> Date: Thu, 22 Aug 2013 11:36:13 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <5CA94104-0489-4DD2-8EC2-D42FF7339E39@freebsd.org> References: <20130821045926.GA17196@raichu> To: Mark Johnston X-Mailer: Apple Mail (2.1508) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freebsd.org X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: freebsd-net@freebsd.org, freebsd-dtrace@freebsd.org 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 15:36:14 -0000 On Aug 21, 2013, at 1:00 , Mark Johnston wrote: > Hello! >=20 > I've ported the ip, tcp and udp DTrace providers to FreeBSD, following > the Solaris documentation here: >=20 > https://wikis.oracle.com/display/DTrace/ip+Provider > https://wikis.oracle.com/display/DTrace/tcp+Provider > https://wikis.oracle.com/display/DTrace/udp+Provider >=20 > My implementation of these providers makes use of dynamic translators, > for which FreeBSD support was added in r254468; this patch won't = compile > with earlier revisions. The use of dynamic translators means that > existing DTrace scripts which use these providers will just work when = run > on FreeBSD - no modifications needed. In particular, all of the = examples > in the links above will work properly on FreeBSD with my diff. >=20 > I've collected a bunch of example scripts for these providers and = placed > them here: >=20 > http://people.freebsd.org/~markj/dtrace/network-providers/ >=20 > To run one you just need to execute "dtrace -s