From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 22 18:08:05 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37B3535D; Sat, 22 Dec 2012 18:08:05 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 175A98FC13; Sat, 22 Dec 2012 18:08:04 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id B3D9D1A3C1A; Sat, 22 Dec 2012 10:08:03 -0800 (PST) Message-ID: <50D5F705.8020303@mu.org> Date: Sat, 22 Dec 2012 10:08:05 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Ed Maste Subject: Re: malloc+utrace, tracking memory leaks in a running program. References: <50D52B10.1060205@mu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Rui Paulo X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 18:08:05 -0000 On 12/22/12 8:56 AM, Ed Maste wrote: > On 21 December 2012 22:37, Alfred Perlstein wrote: > >> Is it time to start installing with some form of debug symbols? This would >> help us also with dtrace. > I just posted a patch to add a knob to build and install standalone > debug files. My intent is that we will build releases with this > enabled, and add a base-dbg.txz distribution that contains the debug > data for the base system, so that one can install it along with > everything else, or add it later on when needed. > > We could perhaps teach dtrace to read its data from standalone .ctf > files, or have it read DWARF directly and use the same debug files. > Thank you. Added CC'd Rui Paulo. Rui, do you think it's easy to get dtrace to honor these conventions? -Alfred