how to build kernel with CTF data for DTrace?

2011-03-23 Thread Anton Yuzhaninov
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

Re: how to build kernel with CTF data for DTrace?

2011-03-23 Thread Bruce Cran
On Wed, 23 Mar 2011 10:23:50 + (UTC) Anton Yuzhaninov cit...@citrin.ru wrote: 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

Re: how to build kernel with CTF data for DTrace?

2011-03-23 Thread Andriy Gapon
on 23/03/2011 12:23 Anton Yuzhaninov said the following: 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

Re: how to build kernel with CTF data for DTrace?

2011-03-23 Thread Andriy Gapon
on 23/03/2011 13:55 Andriy Gapon said the following: on 23/03/2011 12:23 Anton Yuzhaninov said the following: 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

Re: how to build kernel with CTF data for DTrace?

2011-03-23 Thread Anton Yuzhaninov
On Wed, 23 Mar 2011 14:08:22 +0200, Andriy Gapon wrote: I have rebuild kernel with this options, but: $ ctfdump -l /boot/kernel/kernel /boot/kernel/kernel does not contain .SUNW_ctf data FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219710M AG AG Just an idea - do you have WITHOUT_CDDL in your

Re: how to build kernel with CTF data for DTrace?

2011-03-23 Thread Andriy Gapon
on 23/03/2011 12:52 Bruce Cran said the following: On Wed, 23 Mar 2011 10:23:50 + (UTC) Anton Yuzhaninov cit...@citrin.ru wrote: options DDB_CTF options KDTRACE_HOOKS makeoptions DEBUG=-g makeoptions WITH_CTF=1 I have rebuild kernel with this options, but: $