Re: DTrace complains about struct thread

From: Scott Long <scottl_at_samsco.org>
Date: Wed, 15 Oct 2008 19:55:31 -0600
Lionel Flandrin wrote:
> On Wed, Oct 15, 2008 at 08:36:58PM +0400, swell.k_at_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
Received on Wed Oct 15 2008 - 23:55:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:36 UTC