Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2008 22:53:26 +0000
From:      John Birrell <jb@what-creek.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        current@freebsd.org
Subject:   Re: DTrace/FreeBSD source snapshot
Message-ID:  <20080204225326.GA16190@what-creek.com>
In-Reply-To: <18343.34027.335573.791127@grasshopper.cs.duke.edu>
References:  <20080201093538.GA83169@what-creek.com> <18339.35979.765504.132672@grasshopper.cs.duke.edu> <20080201223719.GA88460@what-creek.com> <18343.34027.335573.791127@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 04, 2008 at 04:34:12PM -0500, Andrew Gallatin wrote:
> 
> With this installed, I'm seeing a problem running any
> dtrace scripts:
> 
> dtrace: failed to compile script /nfs/home/gallatin/dtrace/printa.d:
> "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
> 
> I'm guessing dtrace doesn't know what a uid_t is.   Is this some sort
> of installation problem on my part?

Hmmm. That looks like a CTF conversion problem, assuming that uid_t
is actually referenced in our kernel (which I think it should be).

Does a ctfdump of the kernel list uid_t?

> 
> 
> While I was trying to figure out what was going on, the
> machine fell over:
> 
> panic: solaris assert: ((__curthread())->td_proc) == p, file:

Ah that's WIP. I shouldn't have added fasttrap to the dtraceall
module dependencies. Can you take it out or just load all the other
modules manually? You wo't get anywhere trying to trace userland stuff
yet.

--
John Birrell



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