From owner-freebsd-current@FreeBSD.ORG Wed Mar 23 12:08:33 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 396E1106568B for ; Wed, 23 Mar 2011 12:08:33 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8359F8FC16 for ; Wed, 23 Mar 2011 12:08:32 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA07075; Wed, 23 Mar 2011 14:08:23 +0200 (EET) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Q2MrP-000EPJ-3k; Wed, 23 Mar 2011 14:08:23 +0200 Message-ID: <4D89E2B6.4010205@freebsd.org> Date: Wed, 23 Mar 2011 14:08:22 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Anton Yuzhaninov References: <4D89DF97.9040406@freebsd.org> In-Reply-To: <4D89DF97.9040406@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=x-viet-vps Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: how to build kernel with CTF data for DTrace? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 12:08:33 -0000 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