From owner-freebsd-dtrace@freebsd.org Wed May 10 16:14:25 2017 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A80CD67B0A for ; Wed, 10 May 2017 16:14:25 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from dss.incore.de (dss.incore.de [195.145.1.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 002DFCA2 for ; Wed, 10 May 2017 16:14:24 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by dss.incore.de (Postfix) with ESMTP id 8078367A14; Wed, 10 May 2017 18:14:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at incore.de Received: from dss.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id 135ljL2pd8kE; Wed, 10 May 2017 18:14:20 +0200 (CEST) Received: from mail.local.incore (fwintern.dmz [10.0.0.253]) by dss.incore.de (Postfix) with ESMTP id 8CC31679CE; Wed, 10 May 2017 18:14:20 +0200 (CEST) Received: from bsdlo.incore (bsdlo.incore [192.168.0.84]) by mail.local.incore (Postfix) with ESMTP id 68073508A5; Wed, 10 May 2017 18:14:20 +0200 (CEST) Message-ID: <59133C5C.4000500@incore.de> Date: Wed, 10 May 2017 18:14:20 +0200 From: Andreas Longwitz User-Agent: Thunderbird 2.0.0.19 (X11/20090113) MIME-Version: 1.0 To: Ryan Stone CC: "freebsd-dtrace@freebsd.org" Subject: Re: DTrace boken in FreeBSD 10.3 Stable References: <5912E417.5070404@incore.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 16:14:25 -0000 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