[Bug translator/6601] systemtap with --kelf option looks for data symbol to probe a function on powerpc systemtap

jkenisto at us dot ibm dot com sourceware-bugzilla@sourceware.org
Mon Jun 9 03:31:00 GMT 2008


------- Additional Comments From jkenisto at us dot ibm dot com  2008-06-06 23:45 -------
Created an attachment (id=2774)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2774&action=view)
Possible fix: rejects symbols in .odp section

Hmmm.  Apparently at least some function-descriptor symbols like do_exit show
up in elf as type STT_FUNC even though nm labels them "D".  (You don't see this
problem with --kmap=/proc/kallsyms --ignore-vmlinux, do you?)  One way to
screen these out is to reject all symbols in the .opd section.	The attached
patch does that.  Please give it a try and let me know how it works.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6601

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list