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: "srinivasa at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 9 Jun 2008 11:11:57 -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 srinivasa at in dot ibm dot com 2008-06-09 11:11 -------
(In reply to comment #1)
> 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?)
I tried with --kmap option, But it didn't work as --kelf,
> 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.
After applying the patch, stap worked well with --kelf and --kmap option.
--
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.