kern/165644: [dtrace] dtrace finds the syntax error in /usr/lib/dtrace/psinfo.d: syntax error near "uid_t"

Yuri yuri at rawbw.com
Sun Mar 4 17:20:14 UTC 2012


The following reply was made to PR kern/165644; it has been noted by GNATS.

From: Yuri <yuri at rawbw.com>
To: Andriy Gapon <avg at FreeBSD.org>
Cc: bug-followup at 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
 


More information about the freebsd-bugs mailing list