From owner-freebsd-stable@FreeBSD.ORG Sun May 23 18:09:05 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 78E0F1065672 for ; Sun, 23 May 2010 18:09:05 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 317AF8FC1B for ; Sun, 23 May 2010 18:09:04 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2C5E4.dip.t-dialin.net [217.226.197.228]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 40B0D84428F; Sun, 23 May 2010 20:08:58 +0200 (CEST) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id 815605747; Sun, 23 May 2010 20:08:55 +0200 (CEST) Date: Sun, 23 May 2010 20:08:54 +0200 From: Alexander Leidinger To: Marcus Reid Message-ID: <20100523200854.00006948@unknown> In-Reply-To: <20100522033117.GB73888@blazingdot.com> References: <20100522014817.GA73888@blazingdot.com> <20100522025444.8FE2F1CC3A@ptavv.es.net> <20100522033117.GB73888@blazingdot.com> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 40B0D84428F.A7E2C X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1, required 6, autolearn=disabled, ALL_TRUSTED -1.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1275242942.7056@Jooc9KZnQpSGXbtVspn6sA X-EBL-Spam-Status: No Cc: Nikolay Denev , 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: Sun, 23 May 2010 18:09:05 -0000 On Fri, 21 May 2010 20:31:17 -0700 Marcus Reid wrote: > On Fri, May 21, 2010 at 07:54:44PM -0700, Kevin Oberman wrote: > > > Date: Fri, 21 May 2010 18:48:17 -0700 > > > From: Marcus Reid > > > Sender: owner-freebsd-stable@freebsd.org > > > > > > 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. > > > > I believe WITH_CTF=1 would probably be placed in /etc/src.conf. > > Ah, right you are. That is, if world could be built with > 'WITH_CTF=1'. That appears to be where my breakage was; you have to > build kernel with it set but world without it. Correct. And additionally: you have to specify it at the command line. Putting it into src.conf or into the kernel config only works on a recent 9-current. Bye, Alexander.