From owner-freebsd-current@FreeBSD.ORG Wed Mar 23 11:55:15 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 46D291065675 for ; Wed, 23 Mar 2011 11:55:15 +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 068B98FC22 for ; Wed, 23 Mar 2011 11:55:13 +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 NAA06911; Wed, 23 Mar 2011 13:55:04 +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 1Q2MeV-000EOk-RO; Wed, 23 Mar 2011 13:55:03 +0200 Message-ID: <4D89DF97.9040406@freebsd.org> Date: Wed, 23 Mar 2011 13:55:03 +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: In-Reply-To: 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 11:55:15 -0000 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 > -- Andriy Gapon