From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22612 invoked by alias); 7 Sep 2013 00:42:29 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 22602 invoked by uid 89); 7 Sep 2013 00:42:29 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 07 Sep 2013 00:42:29 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r870gObH015581 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Sep 2013 20:42:24 -0400 Received: from fche.csb (vpn-235-50.phx2.redhat.com [10.3.235.50]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r87006ve019687; Fri, 6 Sep 2013 20:00:10 -0400 Received: by fche.csb (Postfix, from userid 2569) id 242C05823F; Fri, 6 Sep 2013 20:00:06 -0400 (EDT) To: Martin Martin Cc: "Yichun Zhang (agentzh)" , systemtap@sourceware.org Subject: Re: How do I trap the return of a function in a user space process? References: From: fche@redhat.com (Frank Ch. Eigler) Date: Sat, 07 Sep 2013 00:42:00 -0000 In-Reply-To: (Martin Martin's message of "Fri, 6 Sep 2013 12:35:13 -0400") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2013-q3/txt/msg00273.txt.bz2 Martin Martin writes: > I manged to solve this problem: I was compiling with clang++. > Switching to g++ caused all my functions to show up. Can clang++ generate DWARF data? It'd be interesting to see a sample binary that stap cannot deal with. - FChE