This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: C++-linkage functions and uprobes
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Ray Ruvinskiy <rruvinsk at sybase dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 16 Mar 2009 14:30:20 -0400
- Subject: Re: C++-linkage functions and uprobes
- References: <946D58BD-5447-4940-9407-B32A6F393C0B@sybase.com>
Ray Ruvinskiy <rruvinsk@sybase.com> writes:
> I was wondering if systemtap and uprobes supported C++-linkage [...]
We don't have good support for it, but in some contexts we get
(unexpectedly) demangled symbol names, where the dwarf debugging data
happens to include some of that. It may be sufficient for systemtap
or elfutils to latch onto the MIPS_linkage_name dwarf attribute, call
into libiberty demangler on purpose, let (or extends) current probe
wildcarding logic selecting them, and maybe include an explicit
demangle call into the runtime/tapset too.
- FChE