From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79181 invoked by alias); 2 Feb 2016 08:11:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 79170 invoked by uid 89); 2 Feb 2016 08:11:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=flying, HX-Received:Tue, cooperate, Providing X-HELO: mail-wm0-f45.google.com Received: from mail-wm0-f45.google.com (HELO mail-wm0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 02 Feb 2016 08:11:37 +0000 Received: by mail-wm0-f45.google.com with SMTP id p63so105351773wmp.1 for ; Tue, 02 Feb 2016 00:11:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=ozcsTtEqUpvnXe1W71gHVpiIAPNt8mxN0lQ6dy+1NA8=; b=EtO5d+R0wbj73ufPs94gqCuhm4AQOS6h4d8L6vn2gBmCcY7/cv91SwRUVCH60uIoQ/ VYDuiYJleSM7nJ63vMObrGUOhrza5BBiKDljOhkFAw56bV4ncvmWA9yuDp98lEbUxRmb l4rSjkvf27lzp6/Ekd6So2zx1SQyHoAx0yqkrwiU+nPqruZ27Fc4GIXgbXkHIGTvCxeu WZCHscpKEJuFq6R+x/u60MRs/0HCXc2llLsR/pzYehIWNUgL46YGwODG80u02TUPfYMj HKoubcfZDoEKCV48iFYSBzGBefishjTsAouEZi5Q9J5eWIDIH9GB4Pf6pvVGkgb/TVpP w0Rw== X-Gm-Message-State: AG10YOS4drLwdhwvs2eiFfV6iXKaYqamTR+lV/tyTc8kCXN6L1vYZFd+0DMaKx9tXM3CndDm X-Received: by 10.28.138.209 with SMTP id m200mr5789049wmd.99.1454400695025; Tue, 02 Feb 2016 00:11:35 -0800 (PST) Received: from [192.168.0.31] (cpc87017-aztw30-2-0-cust65.18-1.cable.virginm.net. [92.232.232.66]) by smtp.gmail.com with ESMTPSA id u4sm249067wjz.4.2016.02.02.00.11.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Feb 2016 00:11:34 -0800 (PST) Subject: Re: [PATCH 3/4] Add SLAB allocator understanding. To: Doug Evans References: <1454276692-7119-1-git-send-email-alnovak@suse.cz> <1454276692-7119-4-git-send-email-alnovak@suse.cz> <56AF5BC8.4010509@gmail.com> Cc: Ales Novak , gdb-patches , Vlastimil Babka , Jan Kiszka , Lee Jones , Peter Griffin From: Kieran Bingham Message-ID: <56B064B5.7000805@linaro.org> Date: Tue, 02 Feb 2016 08:11:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-02/txt/msg00040.txt.bz2 On 01/02/16 22:29, Doug Evans wrote: > On Mon, Feb 1, 2016 at 5:21 AM, Kieran Bingham wrote: >> This is interesting work! >> >> I had been discussing how we might achieve managing this with Jan @ >> FOSDEM yesterday. >> >> I believe a python implementation of this could be possible, and then >> this code can live in the Kernel, and be split across architecture >> specific layers where necessary to implement handling userspace >> application boundaries from the Kernel Awareness. > > Keeping application specific code with the application instead of gdb > is definitely a worthy goal. > [one can quibble over whether linux is an application of course, > but that's just terminology] It's just a big fancy application which supports modules, and can talk to hardware. :D > >> I believe that if properly abstracted (which I think it looks like this >> already will be), with kdump as a target layer, we can implement the >> Kernel awareness layers above, so that they can be common to all of our >> use case scenarios. >> >> I have recently proposed creating a gdb.Target object, so that we can >> layer the kernel specific code on top as a higher stratum layer. This >> code can then live in the Kernel, and be version specific there, and >> would then cooperate with the layers below, be that a live target over >> JTAG, or a virtualised qemu/kvm, or a core dump file: > > Providing gdb.Target is also a worthy goal. Perfect, I'm glad to hear this > I hope someone will take this on. That's my current Work In Progress.! -- Kieran