From owner-freebsd-dtrace@freebsd.org Fri Sep 11 08:33:03 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C767B9BFA13 for ; Fri, 11 Sep 2015 08:33:03 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D8D0319A7; Fri, 11 Sep 2015 08:32:59 +0000 (UTC) (envelope-from avg@FreeBSD.org) 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 LAA00800; Fri, 11 Sep 2015 11:32:55 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1ZaJlP-000KLk-5z; Fri, 11 Sep 2015 11:32:55 +0300 Subject: Re: Dtrace in a jail To: "freebsd-dtrace@freebsd.org" References: <20150911045446.GA55832@raichu> From: Andriy Gapon X-Enigmail-Draft-Status: N1110 Message-ID: <55F29179.7030305@FreeBSD.org> Date: Fri, 11 Sep 2015 11:31:53 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150911045446.GA55832@raichu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 08:33:03 -0000 On 11/09/2015 07:54, Mark Johnston wrote: > A copy of the kernel binary needs to be available too: the kernel's CTF > section is not automatically mapped into memory during boot, but is > loaded upon first use. CTF isn't strictly needed to use DTrace, though. [Off-topic] Pity that we do not have /dev/ksyms that exposes the actual (in-memory) kernel layout as an ELF object. Also, it's a pity that our crashdump format does not provide for saving a kernel along a memory dump (esp. given that a size of the former << a size of the latter). -- Andriy Gapon