From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24777 invoked by alias); 3 Mar 2015 00:49:35 -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 24767 invoked by uid 89); 3 Mar 2015 00:49:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ig0-f180.google.com Received: from mail-ig0-f180.google.com (HELO mail-ig0-f180.google.com) (209.85.213.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 03 Mar 2015 00:49:33 +0000 Received: by igbhl2 with SMTP id hl2so22413751igb.3 for ; Mon, 02 Mar 2015 16:49:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hUNezXkuxLw974ia7rPl6aVIeaffWTVM4QZ9EtrhuKE=; b=OQqhhhKfv1yJZEF6LJ6SIW5TpQgN1PrmaDP5dUPIQk1AL9I4aa83ufUkHI7D7xhjqA iCjTyhb6HSntB4fGXGvIsILbmLcxfgz7FmLI5Y45gf97PGH5zpEzNzqzqZPW1dimxB1B CDAbyEQqE+phnJlwGFtQR52g6ALCOjN4ebtUnQJ0hTmKlmGi0mwmxfOy+zHByPJZtGWC v+0guBsnJwZ2yFqJR/Idt2Uc5EAVfAj+jZh7HMHWI1aXWGstl4JtTOtqNRcuztT5WcC8 Yf1bp+43FlyhoF5I/ctiHCtG+l0la9UiD7ecy8rDXUGy4LWOMH8S+P/zR8twQ7vRbobs 3PhA== X-Gm-Message-State: ALoCoQltVajb3CTquxnDhQCiNAez4HxTd737LOp23L/ZG9bnRRNBzcYmSAmG7u6dm6gRL4+YLasu MIME-Version: 1.0 X-Received: by 10.107.36.9 with SMTP id k9mr41450029iok.2.1425343771097; Mon, 02 Mar 2015 16:49:31 -0800 (PST) Received: by 10.64.227.110 with HTTP; Mon, 2 Mar 2015 16:49:30 -0800 (PST) In-Reply-To: References: <21714.40641.510825.30998@ruffy2.mtv.corp.google.com> <54E71694.1080304@redhat.com> Date: Tue, 03 Mar 2015 00:49:00 -0000 Message-ID: Subject: Re: [RFC] [PATCH] Provide the ability to write the frame unwinder in Python From: Alexander Smundak To: Phil Muldoon Cc: Doug Evans , gdb-patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-03/txt/msg00055.txt.bz2 On Wed, Feb 25, 2015 at 7:09 PM, Alexander Smundak wrote: >>>> Is it possible to see the code, and example usage, of a real-life use-case >>>> of this? That will help folks not familiar with this project to understand >>>> the problem we are trying to solve. >> >> I agree. >> >>> The full implementation of the combined sniffer/frame filter for OpenJDK >>> is about 2500 lines and will eventually become part of it. I am waiting for >>> this GDB patch to be reviewed before I can present it to be reviewed by >>> the JDK community :-) > I am going to publish it on openjdk.java.net site once the site's admin updates > my credentials. I've posted it at the OpenJDK revisions site: http://cr.openjdk.java.net/~asmundak/gdbunwind/hotspot/webrev.00/agent/src/os/linux/gdb/libjvm.so-gdb.py.html Please bear in mind it's very preliminary (see TODO) and it does not reflect the most recent proposal to have sniffer return UnwindInfo object instead of a tuple containing registers and frame ID.