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/10408] IA-32 - stap unable to decode parameter location using DWARF


------- Additional Comments From mhiramat at redhat dot com  2009-07-31 15:23 -------
Here is the result of stap ... -p2 (probe part)
---
# probes
kernel.function("sys_epoll_wait@fs/eventpoll.c:1249")? /* pc=_stext+0xca908 */
/* <- syscall.epoll_wait = kernel.function("compat_sys_epoll_wait")?,
kernel.function("SyS_epoll_wait")!, kernel.function("sys_epoll_wait")? <-
syscall.epoll_wait */
  # locals
  argstr:string
{
(argstr) = (sprintf("%d, %p, %d, %d", _dwarf_tvar_get_epfd_4(),
_dwarf_tvar_get_events_5(), _dwarf_tvar_get_maxevents_6(),
_dwarf_tvar_get_timeout_7()))
printf("%s\\n", argstr)
exit()
}
---

And /proc/kallsyms said;
c0402000 T _stext

So, actual probing address is 0xc04cc908 (sys_epoll_wait+0).


-- 


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

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