From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 4 19:40:15 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5A321065674 for ; Sun, 4 Mar 2012 19:40:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AF0E18FC17 for ; Sun, 4 Mar 2012 19:40:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q24JeFZf039669 for ; Sun, 4 Mar 2012 19:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q24JeF8r039668; Sun, 4 Mar 2012 19:40:15 GMT (envelope-from gnats) Date: Sun, 4 Mar 2012 19:40:15 GMT Message-Id: <201203041940.q24JeF8r039668@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: kern/165644: [dtrace] dtrace finds the syntax error in /usr/lib/dtrace/psinfo.d: syntax error near "uid_t" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 19:40:15 -0000 The following reply was made to PR kern/165644; it has been noted by GNATS. From: Andriy Gapon To: Yuri Cc: bug-followup@FreeBSD.org Subject: Re: kern/165644: [dtrace] dtrace finds the syntax error in /usr/lib/dtrace/psinfo.d: syntax error near "uid_t" Date: Sun, 04 Mar 2012 21:39:37 +0200 on 04/03/2012 19:12 Yuri said the following: > On 03/04/2012 04:19, Andriy Gapon wrote: >> The last advice is not completely accurate. >> It should rather be to follow the instructions here >> http://www.freebsd.org/doc/handbook/dtrace-enable.html to the latter. Main >> thing is to not forget WITH_CTF=1 bit. Also it seems that it is required that >> the kernel is built with debug support (-g flag). >> > > Thanks, > > WITH_CTF=1 is what was missing. Now DTrace works fine. > Maybe it's a good idea to error out with a meaningful message when some required > bit for DTrace is missing? It's definitely a good idea. Unfortunately, nobody has come up with a solution so far. If you have any patches or practical ideas - they are definitely welcome. ?? -- Andriy Gapon