Date: Wed, 15 Oct 2008 19:55:31 -0600 From: Scott Long <scottl@samsco.org> To: Lionel Flandrin <simias.n@gmail.com> Cc: swell.k@gmail.com, freebsd-current@freebsd.org Subject: Re: DTrace complains about struct thread Message-ID: <48F69F13.8020900@samsco.org> In-Reply-To: <20081015221842.GA1329@casibsd.localnet> References: <20081015090453.GA1995@casibsd.elexo.fr.local> <86prm1rf11.fsf@gmail.com> <20081015221842.GA1329@casibsd.localnet>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48F69F13.8020900>