From owner-freebsd-current@FreeBSD.ORG Wed Mar 23 10:52:31 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 F07B11065675 for ; Wed, 23 Mar 2011 10:52:31 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 843B68FC0C for ; Wed, 23 Mar 2011 10:52:31 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 4E39DE7777; Wed, 23 Mar 2011 10:52:30 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=1wWqlEEMotjs or3QavwHkgMjQ/g=; b=o0q3dfWFYygf3PdzgCTq7OLdFLYVQXtdNljj/rKMk638 hPmt/98gcgIElrJsv8rN8U0XdGkjCI4WDFfxSBin/IcdtYuRjnHzVGabMaQk9AQE 84QvXRxvdvFsh6XmlCR47uae6zwO92wKIRTtRZt8pDrIghGGRH/27FGwS+RHZIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=bbfYxN veEBKS4JKTyrr4TbaDDKD3XXNw7B9X8ksZLXsZuD3bxD96/00DEr64fWyLbiYVPM WGbHni2OLiw4bUM31L2+DqGx7AezIxgXh5kZovlAuDGFoXJm8CCpzLhYK50GWsnV 1Opfu+xBwHYvG5/lm0uSRRRVdhiSYytY0zc/E= Received: from unknown (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 048A1E7774; Wed, 23 Mar 2011 10:52:29 +0000 (GMT) Date: Wed, 23 Mar 2011 10:52:15 +0000 From: Bruce Cran To: Anton Yuzhaninov Message-ID: <20110323105215.00003a63@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 10:52:32 -0000 On Wed, 23 Mar 2011 10:23:50 +0000 (UTC) Anton Yuzhaninov 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