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/5890] sys.stp andtestsuite/systemtap.syscall/sys.stp fail on 2.6.25 x86_64


------- Additional Comments From przemyslaw at pawelczyk dot it  2009-10-09 09:14 -------
(In reply to comment #7)
> I'll take full responsibility, of course. :)  What kernel is this?  On my
> 2.6.30.8-64.fc11.x86_64 it works fine.

I'm using customized kernel 2.6.27.24 (with debuginfo) on debian x86_64.

> That it worked before b7478964 might be just because the full copy with an
> accessible $fd was shadowing the inline where $fd is less accessible.  If this
> is the case, then I think our failure here is actually insufficient debuginfo
> (bug #1155), and the previous success was wrong.
> 
> Anyway, I'm just guessing, so let's check what is actually the case.  Please try
> with more -v and see where the probe is actually being resolved.

$ stap --vp 03 -e 'probe syscall.compat_sys_recvmsg { println($fd); }'
...
parsed 'compat_sys_recvmsg', func 'compat_sys_recvmsg'
focused on module 'kernel = [0xffffffff80200000-0xffffffff8075a1e4, bias 0x0] file /boot/vmlinux-2.6.27.24-kp+di ELF machine |x86_64 (code 62)
focused on module 'kernel'
selected inline instance of compat_sys_recvmsg
entry-pc lookup (dwarf_entrypc dieoffset: 0x25c4f69) = 0xffffffff8048a9a4 (rc 0)
selected function compat_sys_recvmsg
probe compat_sys_recvmsg@net/compat.c:737 kernel reloc=.dynamic pc=0xffffffff80489d5b
entry-pc lookup (dwarf_entrypc dieoffset: 0x25c38d2) = 0xffffffff80489d5b (rc 0)
finding location for local 'fd' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'msg' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'flags' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'fd' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'msg' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'flags' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'fd' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
querying entrypc ffffffff8048a9a4 of instance of inline 'compat_sys_recvmsg'
probe compat_sys_recvmsg@net/compat.c:737 kernel reloc=.dynamic pc=0xffffffff8048a9a4
entry-pc lookup (dwarf_entrypc dieoffset: 0x25c4f69) = 0xffffffff8048a9a4 (rc 0)
finding location for local 'fd' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'msg' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'flags' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'fd' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'msg' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'flags' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'fd' near address 0xffffffff8048a9a4, module bias 0x0
parsed 'compat_sys_recvmsg', func 'compat_sys_recvmsg'
focused on module 'kernel = [0xffffffff80200000-0xffffffff8075a1e4, bias 0x0] file /boot/vmlinux-2.6.27.24-kp+di ELF machine |x86_64 (code 62)
focused on module 'kernel'
selected inline instance of compat_sys_recvmsg
entry-pc lookup (dwarf_entrypc dieoffset: 0x25c4f69) = 0xffffffff8048a9a4 (rc 0)
selected function compat_sys_recvmsg
probe compat_sys_recvmsg@net/compat.c:737 kernel reloc=.dynamic pc=0xffffffff80489d5b
entry-pc lookup (dwarf_entrypc dieoffset: 0x25c38d2) = 0xffffffff80489d5b (rc 0)
finding location for local 'fd' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'msg' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'flags' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'fd' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'msg' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'flags' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
finding location for local 'fd' near address 0xffffffff80489d5b, module bias 0x0
get_cfa_ops @0xffffffff80489d5b, module_start @0xffffffff80200000
not found cfa
querying entrypc ffffffff8048a9a4 of instance of inline 'compat_sys_recvmsg'
probe compat_sys_recvmsg@net/compat.c:737 kernel reloc=.dynamic pc=0xffffffff8048a9a4
entry-pc lookup (dwarf_entrypc dieoffset: 0x25c4f69) = 0xffffffff8048a9a4 (rc 0)
finding location for local 'fd' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'msg' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'flags' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'fd' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'msg' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'flags' near address 0xffffffff8048a9a4, module bias 0x0
finding location for local 'fd' near address 0xffffffff8048a9a4, module bias 0x0
...  [Eliding unused function ...]
...  [Eliding assignment to ...]
...  [Eliding side-effect-free ...]
Eliding unused function _dwarf_tvar_get_fd_0
Eliding unused function _dwarf_tvar_get_fd_3
Eliding unused function _dwarf_tvar_get_flags_2
Eliding unused function _dwarf_tvar_get_flags_5
Eliding unused function _dwarf_tvar_get_msg_1
Eliding unused function _dwarf_tvar_get_msg_4
Eliding unused function _recvflags_str
Eliding unused function strlen
Eliding unused function substr
Eliding unused local variable name in probe_1845
Eliding unused local variable s in probe_1845
Eliding unused local variable msg_uaddr in probe_1845
Eliding unused local variable flags in probe_1845
Eliding unused local variable argstr in probe_1845
Eliding unused local variable name in probe_1846
Eliding unused local variable s in probe_1846
Eliding unused local variable msg_uaddr in probe_1846
Eliding unused local variable flags in probe_1846
Eliding unused local variable argstr in probe_1846
Resolution problem with probe probe_1846
println($fd)
semantic error: not accessible at this address (0xffffffff8048a9a4): identifier '$fd' at <input>:1:44
        source: probe syscall.compat_sys_recvmsg { println($fd); }
                                                           ^
...


Should I provide any other information?

-- 


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

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