how to build kernel with CTF data for DTrace?

Anton Yuzhaninov citrin at citrin.ru
Wed Mar 23 10:24:03 UTC 2011


On this page:
http://wiki.freebsd.org/DTrace

written, that for 9-current is sufficient to rebild kernel with this
options:

options         DDB_CTF
options         KDTRACE_HOOKS
makeoptions     DEBUG=-g
makeoptions     WITH_CTF=1

I have rebuild kernel with this options, but:
$ ctfdump -l /boot/kernel/kernel
/boot/kernel/kernel does not contain .SUNW_ctf data

Is instruction in wiki outdated?

full build log:
https://hius.citrin.ru/a/2011-03-23-buildkernel.log

FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219710M

-- 
WBR,
 Anton Yuzhaninov



More information about the freebsd-current mailing list