From owner-freebsd-current@FreeBSD.ORG Thu Nov 6 12:34:04 2014 Return-Path: Delivered-To: freebsd-current@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 2A59D895; Thu, 6 Nov 2014 12:34:04 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 19D59880; Thu, 6 Nov 2014 12:34:02 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA07996; Thu, 06 Nov 2014 14:35:48 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1XmMG9-000BHS-Sv; Thu, 06 Nov 2014 14:33:54 +0200 Message-ID: <545B6A78.6000907@FreeBSD.org> Date: Thu, 06 Nov 2014 14:32:56 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Mark Johnston Subject: Re: HEADS UP: Standalone kernel debug files moving out of /boot/kernel/ References: <54511184.2020600@FreeBSD.org> <20141029175833.GC80471@ip-172-31-25-62.ec2.internal> In-Reply-To: <20141029175833.GC80471@ip-172-31-25-62.ec2.internal> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: David Chisnall , FreeBSD Current , Ed Maste , Kevin Oberman X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 12:34:04 -0000 On 29/10/2014 19:58, Mark Johnston wrote: > A while ago I wrote some code for libproc to handle .gnu_debuglink and > read stripped sections out of the standalone debug file. Just in case, I have an ugly-ish local patch for that too: https://github.com/avg-I/freebsd/compare/wip/libproc-support-debug-files > It seemed to me > though that that kind of functionality really belongs somewhere more > central, maybe in libelf. I'm not really sure what the interface should > look like; I haven't seen any other libraries that handle external debug > files, aside from bfd. > > Also note that DTrace doesn't strictly need userland symbols to work. > The pid provider is a lot more useful if they're available though. Some thoughts on all of the above. -- Andriy Gapon