D. DTrace on FreeBSD

This appendix covers enabling DTrace on FreeBSD and includes an e-mail from John Birrell.

Enabling DTrace on FreeBSD 7.1 and 8.0

DTrace is not available in FreeBSD 7.1/8.0 following an installation. A kernel build is required after editing the kernel configuration file. The DTrace modules must also explicitly be loaded after the new kernel is booted.

You can reference the online FreeBSD documentation for enabling DTrace here:

www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dtrace-enable.html

Information on the kernel configuration file and building kernels can be found here:

www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfigbuilding.html

www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfigconfig.html ...

Get DTrace: Dynamic Tracing in Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.