This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How do I trap the return of a function in a user space process?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Martin Martin <martin at infinio dot com>
- Cc: "Yichun Zhang (agentzh)" <agentzh at gmail dot com>, systemtap at sourceware dot org
- Date: Fri, 06 Sep 2013 20:00:06 -0400
- Subject: Re: How do I trap the return of a function in a user space process?
- Authentication-results: sourceware.org; auth=none
- References: <CAAQ0mPjJeQcYoKNc=1PhgCF1Z=iQjPuueTxAwQxNnzwCaCY_Hg at mail dot gmail dot com> <CAB4Tn6Oq8O_NVvfWNyrEqaNWuARMDAtK_FGWjLGHd4YaJiNMLw at mail dot gmail dot com> <CAAQ0mPjgOx3oNy5K0iXKj4wiNgC64Xy-dE_K=AeFTJB+3b4bVw at mail dot gmail dot com> <CAAQ0mPi5YLS9uv8EismftJvDcpbQHk2_eqikZsgXpDZBEXX7Lw at mail dot gmail dot com> <CAAQ0mPgQs59g7DCUZEeViKJJZKLuua4ErrBYLVc0-RMKp6xMWw at mail dot gmail dot com>
Martin Martin <martin@infinio.com> 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