From owner-freebsd-stable@FreeBSD.ORG Fri Jan 16 15:37:15 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88BC0BC6 for ; Fri, 16 Jan 2015 15:37:15 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60DBF119 for ; Fri, 16 Jan 2015 15:37:15 +0000 (UTC) Received: from new-host-2.home (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E9A59B97B; Fri, 16 Jan 2015 10:37:13 -0500 (EST) Message-ID: <54B9302A.7070002@FreeBSD.org> Date: Fri, 16 Jan 2015 10:37:14 -0500 From: John Baldwin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "O'Connor, Daniel" Subject: Re: DTrace and function names References: <54B67A60.2000708@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 16 Jan 2015 10:37:14 -0500 (EST) Cc: FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 15:37:15 -0000 On 1/15/15 9:55 PM, O'Connor, Daniel wrote: > >> On 15 Jan 2015, at 00:47, John Baldwin wrote: >>> So it shows _some_ function names from libc but mostly not.. Is there a way to improve it? >> >> Build with debug symbols? For libc you can do that via: >> >> % cd /usr/src/lib/libc >> % make cleandir >> % make obj >> # May want to use "-O -g" to reduce inlining >> % make DEBUG_FLAGS="-g" depend all install > > OK, I guess I was thinking it wasn't necessary since some of the symbols showed up :( Yeah, libc will always include symbols for the public functions it exports, but without -g you won't have symbols for any internal functions (and that's generally true of any shared library AFAIK). -- John Baldwin