This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10174] Enable stap to map function addresses to function names
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 25 May 2009 16:24:29 -0000
- Subject: [Bug translator/10174] Enable stap to map function addresses to function names
- References: <20090520112758.10174.prerna@linux.vnet.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2009-05-25 16:24 -------
> > Thanks Frank !! This construct doesnt seem to work in dwarfless scenario
>
> You need to add dwarf :)
> stap -d kernel (or stap -d module-name) will make the symbols available by
> reading them from the debuginfo.
Yeah, but that seems to defeat the purpose of dwarfless probing.
Maybe extend -d to accept a (presumed) kernel symbol table file
-d /lib/modules/`uname -r`/build/System.map
And the kprobes.* logic can add this to session.unwindsyms. For
that matter, it could read the file (like in jkenisto's older
symbol-table-based probing implementation) to verify placement
of kernel-side symbol probes.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10174
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.