How to Modify the FreeBSD 7 Kernel to Add DTrace Support

Author: , October 21st, 2009

Here is a quick-start guide: http://wiki.freebsd.org/DTrace The kernel config files are located in: /usr/src/sys/{ARCH}/conf. Create a new one called DTRACE: [code] # cd /usr/src/sys/amd64/conf # cp GENERIC DTRACE # vim DTRACE [/code] For DTrace support, add the following options: [code] options KDTRACE_HOOKS # all architectures – enable general DTrace hooks options DDB_CTF # all architectures […]