This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6998] probefunc returns hex addresses for timer and profile probes rather than function name
- From: "wenji dot huang at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Nov 2008 08:08:24 -0000
- Subject: [Bug runtime/6998] probefunc returns hex addresses for timer and profile probes rather than function name
- References: <20081030200326.6998.wcohen@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From wenji dot huang at oracle dot com 2008-11-06 08:08 -------
I think it doesn't duplicate 5085. The root reason is _stp_kallsyms_lookup can't
return function name for given address since commit
a00cc8c70d20f2f3429590b629d272c8db65b40f. Only fixed numbered symbol-address
mapping is emitted in compilation time and do relocation in runtime.
Unfortunately, no any symbol-address is emitted for timer.profile, see
stap-symbols.h.
To solve it:
1. The best way is to encourage kernel guy to make kallsyms_lookup exported or
runtime part merged into mainline. We don't need duplicated symbol lookup code.
2. Make timer.profile special and emit most symbol-address mappings as possible.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6998
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.