Date: Fri, 16 Jan 2015 13:25:18 +1030 From: "O'Connor, Daniel" <darius@dons.net.au> To: John Baldwin <jhb@FreeBSD.org> Cc: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: DTrace and function names Message-ID: <D0363778-8D7D-4A67-98FB-A4F978F20D4F@dons.net.au> In-Reply-To: <54B67A60.2000708@FreeBSD.org> References: <ED72FCF4-7917-4EA9-8331-A940F70E2578@dons.net.au> <54B67A60.2000708@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 15 Jan 2015, at 00:47, John Baldwin <jhb@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0363778-8D7D-4A67-98FB-A4F978F20D4F>