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

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Wed, 23 Mar 2011 10:52:15 +0000
On Wed, 23 Mar 2011 10:23:50 +0000 (UTC)
Anton Yuzhaninov <citrin_at_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 does not contain .SUNW_ctf data
> 
> Is instruction in wiki outdated?

I think you need to specify WITH_CTF=1 on the commandline, e.g.

make WITH_CTF=1 buildkernel

-- 
Bruce Cran
Received on Wed Mar 23 2011 - 09:52:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC