Date: Sat, 27 May 2006 19:48:32 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-current@freebsd.org Cc: John Birrell <jb@what-creek.com>, current@freebsd.org Subject: Re: DTrace for FreeBSD - Status Update Message-ID: <200605271948.34035.doconnor@gsoft.com.au> In-Reply-To: <20060526195018.GA34554@what-creek.com> References: <20060525065510.GA20475@what-creek.com> <84dead720605260831n65cecbc2r7c6a2a7b45416379@mail.gmail.com> <20060526195018.GA34554@what-creek.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605271948.34035.doconnor>