From owner-freebsd-current@FreeBSD.ORG Wed Mar 23 10:24:03 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 DACCE106566C for ; Wed, 23 Mar 2011 10:24:03 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 99F5C8FC19 for ; Wed, 23 Mar 2011 10:24:03 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q2LEQ-0004qM-6c for freebsd-current@freebsd.org; Wed, 23 Mar 2011 11:24:02 +0100 Received: from gw1.masterhost.ru ([87.242.97.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 11:24:02 +0100 Received: from citrin by gw1.masterhost.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 11:24:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Anton Yuzhaninov Date: Wed, 23 Mar 2011 10:23:50 +0000 (UTC) Organization: Vega Lines: 25 Sender: Anton Yuzhaninov Message-ID: X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: gw1.masterhost.ru User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/9.0-CURRENT (i386)) Subject: 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:24:03 -0000 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 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? full build log: https://hius.citrin.ru/a/2011-03-23-buildkernel.log FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219710M -- WBR, Anton Yuzhaninov