Date: Fri, 29 Aug 2014 20:34:44 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193109] [dtrace] cannot compile psinfo.d: line 37: syntax error near "uid_t" Message-ID: <bug-193109-8-F4xe9oz4mG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-193109-8@https.bugs.freebsd.org/bugzilla/> References: <bug-193109-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193109 --- Comment #3 from Garrett Cooper <ngie@FreeBSD.org> --- (In reply to Mark Johnston from comment #2) > (In reply to Mark Johnston from comment #1) > > This type of error is almost always the result of some sort of > > misconfiguration. A couple of things to check: > > > > 1. Is kern.bootfile set to the correct path for the running kernel? > > 2. Is there CTF data present in the kernel? > > The latter can be checked with something like 'ctfdump /boot/kernel/kernel'. Yup, that's ok: % [ -n "$(ctfdump $(kenv kernelname))" ] && echo "I have CTF in the kernel" I have CTF in the kernel > If nothing interesting turns up, try running a dtrace command manually on > the system in question, e.g. "dtrace -n 'fbt::kern_ioctl:entry'" or so. If > it fails with the same error, try running it again with the DTRACE_DEBUG > environment variable set to 1 and paste the output. That command works (and prints out info) $ sudo dtrace -n 'fbt::kern_ioctl:entry' dtrace: description 'fbt::kern_ioctl:entry' matched 1 probe CPU ID FUNCTION:NAME 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 1 34641 kern_ioctl:entry 0 34641 kern_ioctl:entry 1 34641 kern_ioctl:entry ^C $ I don't know how the preprocessing and resolution of C typedefs is handled with dtrace, but it seems like the issue is there and not in the actual dtrace runtime... -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193109-8-F4xe9oz4mG>