Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 15:48:02 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: how to build kernel with CTF data for DTrace?
Message-ID:  <4D89FA12.9070106@freebsd.org>
In-Reply-To: <20110323105215.00003a63@unknown>
References:  <imchnm$m7r$1@dough.gmane.org> <20110323105215.00003a63@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
on 23/03/2011 12:52 Bruce Cran said the following:
> 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

The makeoptions line above should be completely equivalent to your suggestion for
kernel builds.

-- 
Andriy Gapon



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