From owner-freebsd-current@FreeBSD.ORG Wed Oct 15 22:18:50 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 2D7AC106568C for ; Wed, 15 Oct 2008 22:18:50 +0000 (UTC) (envelope-from simias.n@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.178]) by mx1.freebsd.org (Postfix) with ESMTP id AC1678FC08 for ; Wed, 15 Oct 2008 22:18:49 +0000 (UTC) (envelope-from simias.n@gmail.com) Received: by ik-out-1112.google.com with SMTP id c29so2287147ika.3 for ; Wed, 15 Oct 2008 15:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=Ic/lqqatD9/bhM5RbgZI4BN46OJPQd2rK+W/J9y0InA=; b=hE1Qo0ChEw7WF78hPx7eRVByhmYsd+hosQ4h5kkcDiNxvn4LabBDg0qW+ki9Iou8QA QrzSVl3G1tZLrCp1+tMnSiXMYYH5ZUWoFUsZFKOnwDZGcMWhZAfMPQeC2HJrpJjrR32v ZIXMNsZewkig/xEkKurl2ewZDEFrucsCjyxqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=kVEtTf6LIqXmrN1p6plhN+j56ZM2tL9h9AprRNE7FeZK6sE0hj1udh4h5ReJyFMCTJ KPpdYyroaZiuf3KMJv4cD86AH4L7W9AE+bBXhUg50V3oYjhbimUkt5oixmnHmxZjqn6i Mxys75Jas13VrInozGQfZGYnfcB73vGzyih6w= Received: by 10.210.128.5 with SMTP id a5mr1881294ebd.26.1224109128167; Wed, 15 Oct 2008 15:18:48 -0700 (PDT) Received: from localhost (home.svkt.org [82.243.51.8]) by mx.google.com with ESMTPS id h1sm357400nfh.19.2008.10.15.15.18.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Oct 2008 15:18:47 -0700 (PDT) Date: Thu, 16 Oct 2008 00:18:42 +0200 From: Lionel Flandrin To: swell.k@gmail.com Message-ID: <20081015221842.GA1329@casibsd.localnet> References: <20081015090453.GA1995@casibsd.elexo.fr.local> <86prm1rf11.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86prm1rf11.fsf@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: 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: Wed, 15 Oct 2008 22:18:50 -0000 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. -- Lionel Flandrin