This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/6998] probefunc returns hex addresses for timer and profile probes rather than function name


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]