From owner-freebsd-current@FreeBSD.ORG Thu Oct 16 01:55:34 2008 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 F0343106568F for ; Thu, 16 Oct 2008 01:55:34 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id A4E448FC1D for ; Thu, 16 Oct 2008 01:55:34 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id m9G1tVVC045656; Wed, 15 Oct 2008 19:55:31 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48F69F13.8020900@samsco.org> Date: Wed, 15 Oct 2008 19:55:31 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Lionel Flandrin References: <20081015090453.GA1995@casibsd.elexo.fr.local> <86prm1rf11.fsf@gmail.com> <20081015221842.GA1329@casibsd.localnet> In-Reply-To: <20081015221842.GA1329@casibsd.localnet> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: swell.k@gmail.com, freebsd-current@freebsd.org Subject: Re: DTrace complains about struct thread 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: Thu, 16 Oct 2008 01:55:35 -0000 Lionel Flandrin wrote: > On Wed, Oct 15, 2008 at 08:36:58PM +0400, swell.k@gmail.com wrote: >> I believe only kernel should be rebuilt with WITH_CTF=1 since there is >> no userland tracing yet. >> >> Try building world as usual and enable WITH_CTF only for kernel, then >> rerun the test. > > Ok, so i rebuilt everything using WITH_CTF only for > build/installkernel. > > It fixed my "abort" problem with gcc (I guess it didn't like the > additional CTF section in the ELF), but I still get the "failed to > resolve type kernel`struct thread" error when I run dtrace. I tried > with "hotkernel" from the DTraceToolkit-0.99 and several one liner > syscall tracing. Always the same error message. > Yes, this 'struct thread' error message is a regression in HEAD. It is not present in FreeBSD 7.1, so I'd recommend that you focus on that if at all possible. I don't know where the regression is or how to fix it, but hopefully John Birrell will take notice and help out. Scott