This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6601] systemtap with --kelf option looks for data symbol to probe a function on powerpc systemtap
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Jun 2008 23:45:20 -0000
- Subject: [Bug translator/6601] systemtap with --kelf option looks for data symbol to probe a function on powerpc systemtap
- References: <20080606101615.6601.srinivasa@in.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.