Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2008 00:18:42 +0200
From:      Lionel Flandrin <simias.n@gmail.com>
To:        swell.k@gmail.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: DTrace complains about struct thread
Message-ID:  <20081015221842.GA1329@casibsd.localnet>
In-Reply-To: <86prm1rf11.fsf@gmail.com>
References:  <20081015090453.GA1995@casibsd.elexo.fr.local> <86prm1rf11.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081015221842.GA1329>