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

Andriy Gapon avg at FreeBSD.org
Sun Mar 4 19:40:15 UTC 2012


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

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


More information about the freebsd-bugs mailing list