From owner-freebsd-stable@FreeBSD.ORG Fri Jan 16 02:55:30 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 D7AF541C; Fri, 16 Jan 2015 02:55:30 +0000 (UTC) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id 42DE0875; Fri, 16 Jan 2015 02:55:30 +0000 (UTC) Received: from ppp14-2-33-47.lns21.adl2.internode.on.net (HELO midget.dons.net.au) ([14.2.33.47]) by ipmail04.adl6.internode.on.net with ESMTP; 16 Jan 2015 13:25:20 +1030 Received: from [10.0.2.26] ([10.0.2.26]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t0G2tDh0041155 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Jan 2015 13:25:19 +1030 (CST) (envelope-from darius@dons.net.au) Subject: Re: DTrace and function names Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: text/plain; charset=windows-1252 From: "O'Connor, Daniel" In-Reply-To: <54B67A60.2000708@FreeBSD.org> Date: Fri, 16 Jan 2015 13:25:18 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <54B67A60.2000708@FreeBSD.org> To: John Baldwin X-Mailer: Apple Mail (2.1993) X-Spam-Score: -2.9 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 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 02:55:30 -0000 > 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? >=20 > Build with debug symbols? For libc you can do that via: >=20 > % cd /usr/src/lib/libc > % make cleandir > % make obj > # May want to use "-O -g" to reduce inlining > % make DEBUG_FLAGS=3D"-g" depend all install OK, I guess I was thinking it wasn't necessary since some of the symbols = showed up :( > For gpsd you'll have to figure out a way to get it built with extra > symbols (if the port has a DEBUG option, enable that, otherwise you > might have to hack the port). Done that - it was the easy part ;) -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C