Date: Sun, 4 Mar 2012 19:40:15 GMT From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/165644: [dtrace] dtrace finds the syntax error in /usr/lib/dtrace/psinfo.d: syntax error near "uid_t" Message-ID: <201203041940.q24JeF8r039668@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: Andriy Gapon <avg@FreeBSD.org> To: Yuri <yuri@rawbw.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203041940.q24JeF8r039668>