From owner-freebsd-dtrace@FreeBSD.ORG Sat Jul 26 20:45:54 2014 Return-Path: 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 ESMTPS id 1EE51A23 for ; Sat, 26 Jul 2014 20:45:54 +0000 (UTC) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EAFE2204E for ; Sat, 26 Jul 2014 20:45:50 +0000 (UTC) Received: from a6.norwich.yourspac.nsdsl.net ([94.229.131.101]:56200 helo=[172.16.19.1]) by vps.hungerhost.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1XB8qj-00036y-41 for dtrace@freebsd.org; Sat, 26 Jul 2014 16:45:49 -0400 From: "George Neville-Neil" To: dtrace@freebsd.org Subject: Updating of DTraceToolkit for FreeBSD Date: Sat, 26 Jul 2014 21:45:47 +0100 Message-ID: <5C34A9D1-2D55-49A5-9400-4BEEC7B61A7D@neville-neil.com> References: <40272D9D-3CA1-4092-9CBB-D035D10C0407@neville-neil.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Mailer: MailMate (1.7.2r3905) 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 - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.18 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: Sat, 26 Jul 2014 20:45:54 -0000 Hi, Note that I'll be updating bits of the DTraceToolkit in our cddl/contrib directory to work with FreeBSD. Changes will include removing the dependency on ksh in all scripts that I touch along with the conversion of probes to match those on FreeBSD. I am working exclusively in HEAD for now. Please try the scripts on your own systems and let me know if they work or if you have problems. The changes can be tracked via the commits mailing list. To kick off the fun I modified rwsnoop to run on FreeBSD. Note that until I or someone else adds a few more things (like the fds array) some of the scripts will not work exactly the same on Illumos, MacOS and FreeBSD, but that is the eventual goal. Best, George