Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2012 17:20:09 GMT
From:      Yuri <yuri@rawbw.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/165644: [dtrace] dtrace finds the syntax error in /usr/lib/dtrace/psinfo.d: syntax error near &quot;uid_t&quot;
Message-ID:  <201203041720.q24HK9OU010522@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/165644; it has been noted by GNATS.

From: Yuri <yuri@rawbw.com>
To: Andriy Gapon <avg@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/165644: [dtrace] dtrace finds the syntax error in /usr/lib/dtrace/psinfo.d:
 syntax error near &quot;uid_t&quot;
Date: Sun, 04 Mar 2012 09:12:12 -0800

 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?
 
 Yuri
 



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