O'Reilly logo

DTrace: Dynamic Tracing in Oracle by Jim Mauro, Brendan Gregg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required