Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 14:08:22 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Anton Yuzhaninov <citrin@citrin.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: how to build kernel with CTF data for DTrace?
Message-ID:  <4D89E2B6.4010205@freebsd.org>
In-Reply-To: <4D89DF97.9040406@freebsd.org>
References:  <imchnm$m7r$1@dough.gmane.org> <4D89DF97.9040406@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>> makeoptions     DEBUG=-g
>> makeoptions     WITH_CTF=1
> 
> Also for amd64:
> options	KDTRACE_FRAME
> 
>>
>> 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?
> 
> The instructions work for me here.
> 
>> full build log:
>> https://hius.citrin.ru/a/2011-03-23-buildkernel.log
>>
>> FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219710M

Just an idea - do you have WITHOUT_CDDL in your src.conf or something like that?

-- 
Andriy Gapon



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