Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 10:52:15 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Anton Yuzhaninov <citrin@citrin.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: how to build kernel with CTF data for DTrace?
Message-ID:  <20110323105215.00003a63@unknown>
In-Reply-To: <imchnm$m7r$1@dough.gmane.org>
References:  <imchnm$m7r$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Mar 2011 10:23:50 +0000 (UTC)
Anton Yuzhaninov <citrin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110323105215.00003a63>