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 translator/6601] systemtap with --kelf option looks for data symbol to probe a function on powerpc systemtap


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


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