From owner-freebsd-current@FreeBSD.ORG Sat May 27 10:18:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10B4616B7DE; Sat, 27 May 2006 10:18:48 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 568EE43D48; Sat, 27 May 2006 10:18:45 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp230-239.lns2.adl4.internode.on.net [203.122.230.239]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4RAIbN3027117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 May 2006 19:48:38 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Sat, 27 May 2006 19:48:32 +0930 User-Agent: KMail/1.9.1 References: <20060525065510.GA20475@what-creek.com> <84dead720605260831n65cecbc2r7c6a2a7b45416379@mail.gmail.com> <20060526195018.GA34554@what-creek.com> In-Reply-To: <20060526195018.GA34554@what-creek.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2360307.01sT1kABzC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605271948.34035.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: John Birrell , current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 10:18:58 -0000 --nextPart2360307.01sT1kABzC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 27 May 2006 05:20, John Birrell wrote: > I've added a KDTRACE kernel option which compiles in the hooks that > DTrace uses and a bit of extra exception handling code. This > is only minimal bloat. > > Apart from those hooks, the DTrace kernel functionality is in the > 'dtrace' device which is also the 'dtrace' provider. The other > providers register themselves with the 'dtrace' device. > > If the DTrace device modules aren't loaded, there is very little > code in the kernel to share. =46actoring out the common code into a separate module that dtrace/ktrace/e= tc=20 can depend would be a good approach IMO. Although having just a single source copy but compiling it N times would be= =20 better (modulo licensing concerns - perhaps the hwpmc version could be used= ?) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2360307.01sT1kABzC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEeCd65ZPcIHs/zowRAuLbAKCUbbnuA8rZzidQYi8WP0g5uT5XmwCgqELl DiazPEIZGjnwvv49jmiDDd8= =8cD9 -----END PGP SIGNATURE----- --nextPart2360307.01sT1kABzC--