Date: Wed, 10 May 2017 18:14:20 +0200 From: Andreas Longwitz <longwitz@incore.de> To: Ryan Stone <rysto32@gmail.com> Cc: "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org> Subject: Re: DTrace boken in FreeBSD 10.3 Stable Message-ID: <59133C5C.4000500@incore.de> In-Reply-To: <CAFMmRNw%2B=QcK2SF=U3fUFLn_qm-MLJVXzwSdJ=DNAbkP5yENJQ@mail.gmail.com> References: <5912E417.5070404@incore.de> <CAFMmRNw%2B=QcK2SF=U3fUFLn_qm-MLJVXzwSdJ=DNAbkP5yENJQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for answer, > These error messages suggest that the kernel was built without CTF > data. Did you build and install the kernel yourself? If so, I'd > recommend rerunning make buildkernel with "WITH_CTF=1" added to the > commandline. I did a complete clean (empty /usr/obj) buildworld and buildkernel. I think WITH_CTF=1 is default in 10.3, the log of my buildkernel gives echo $(grep WITH_CTF=\"1\" buildkernel.log | wc -l ) --> 8. I agree, the problem is correlated with CTF, but only for some functions of the MODULES freebsd and freebsd32. A snippet from the output of "dtrace -l" looks like this: 39180 syscall freebsd32 getdtablesize return 39181 syscall freebsd32 dup2 entry 39182 syscall freebsd32 dup2 return 39183 syscall freebsd32 #91 entry 39184 syscall freebsd32 #91 return 39185 syscall freebsd32 freebsd32_fcntl entry 39186 syscall freebsd32 freebsd32_fcntl return 39187 syscall freebsd32 freebsd32_select entry 39188 syscall freebsd32 freebsd32_select return 39189 syscall freebsd32 #94 entry 39190 syscall freebsd32 #94 return 39191 syscall freebsd32 fsync entry 39192 syscall freebsd32 fsync return The function names are missing only for MODULE freebsd or freebsd32: dtrace -l | grep '#' | wc -l -- > 350 dtrace -l | grep '#' | grep freebsd32 | wc -l --> 196 dtrace -l | grep '#' | grep 'freebsd ' | wc -l --> 154 The kernel message 'fbt_getargdesc' appears on use of 'dtrace -vl'. -- Dr. Andreas Longwitz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59133C5C.4000500>