From owner-freebsd-stable@FreeBSD.ORG Sat May 22 01:48:18 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60AAA106566B for ; Sat, 22 May 2010 01:48:18 +0000 (UTC) (envelope-from marcus@blazingdot.com) Received: from marklar.blazingdot.com (marklar.blazingdot.com [207.154.84.83]) by mx1.freebsd.org (Postfix) with SMTP id 318668FC12 for ; Sat, 22 May 2010 01:48:17 +0000 (UTC) Received: (qmail 74307 invoked by uid 503); 22 May 2010 01:48:17 -0000 Date: Fri, 21 May 2010 18:48:17 -0700 From: Marcus Reid To: Nikolay Denev Message-ID: <20100522014817.GA73888@blazingdot.com> References: <20100521060306.GA37722@blazingdot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Coffee-Level: nearly-fatal User-Agent: Mutt/1.5.6i Cc: freebsd-stable@freebsd.org Subject: Re: dtrace problem? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 01:48:18 -0000 On Fri, May 21, 2010 at 09:22:17AM +0300, Nikolay Denev wrote: > On May 21, 2010, at 9:03 AM, Marcus Reid wrote: > > > Hi, > > > > Running a recent RELENG_8 (FreeBSD 8.1-PRERELEASE #0: Tue May 18 23:37:37 > > PDT 2010), I'm having a problem using dtrace. For every .d file I attempt > > to compile, I get: > > > > dtrace: failed to compile script test.d: "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t" > > > > This is my first attempt to use dtrace, so I can't be sure if it worked > > before. It happens with some scripts that can be assumed to be valid, > > so it's not just me. Is it broken for anyone else? > > > > Thanks, > > > > Marcus > > Hi, > > Have you rebuilt your kernel as described here : http://wiki.freebsd.org/DTrace > > I was once getting "uid_t" errors when my kernel was not compiled with "WITH_CTF" option. Yes, that would probably be it. The handbook is explicit about building with WITH_CTF=1, so I put it in make.conf. http://www.freebsd.org/doc/en/books/handbook/dtrace-enable.html Thanks, I'll rebuild without it. Marcus > Regards, > Niki