Getting started with DTrace in FreeBSD-current (a.k.a. 8)

Josh Carroll josh.carroll at gmail.com
Wed Jun 11 06:29:15 UTC 2008


> 1.  Grab the latest current sources for the entire src tree.
> 2.  Do a 'make buildworld' of those sources on either a -current system
>    or a releng7 system.
> 3.  Add 'options KDTRACE_HOOKS' and 'options DDB_CTF' to your kernel
>    config file (on i386 or amd64; users of other arches can go watch
>    a movie instead).

Do I need an additional patch on RELENG_7? Trying to build a kernel
with "options DDB_CTF" indicates it's an unknown option:

/usr/src/sys/i386/conf/DEV: unknown option "DDB_CTF"

I grep'd through /usr/src/sys and the only reference to DDB_CTF was in
my kernel config file.

Thanks!
Josh


More information about the freebsd-current mailing list