public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/5890] New: sys.stp andtestsuite/systemtap.syscall/sys.stp fail on 2.6.25 x86_64
@ 2008-03-05 20:05 wcohen at redhat dot com
  2008-03-05 20:12 ` [Bug translator/5890] " fche at redhat dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: wcohen at redhat dot com @ 2008-03-05 20:05 UTC (permalink / raw)
  To: systemtap

The systemtap tests fail when using the syscall.compat_sys_recvmsg and
syscall.compat_sys_sendmsg probes because the $fd argument cannot be found.
This problem can be seen with the rawhide kernels, 2.6.25-0.90.rc3.git5.fc9 on
x86_64 machine.

$ ./stap  ../systemtap/testsuite/systemtap.syscall/sys.stp 
semantic error: not accessible at this address: identifier '$fd' at
/home/wcohen/systemtap_write/install/share/systemtap/tapset/syscalls2.stp:766:33
semantic error: not accessible at this address: identifier '$fd' at
/home/wcohen/systemtap_write/install/share/systemtap/tapset/syscalls2.stp:1451:33
Pass 2: analysis failed.  Try again with more '-v' (verbose) options.

The problem functions are small wrappers, but they appear to be real functions
in linux/net/compat.c:

asmlinkage long compat_sys_sendmsg(int fd, struct compat_msghdr __user *msg,
unsigned flags)
{
        return sys_sendmsg(fd, (struct msghdr __user *)msg, flags |
MSG_CMSG_COMPAT);
}

asmlinkage long compat_sys_recvmsg(int fd, struct compat_msghdr __user *msg,
unsigned int flags)
{
        return sys_recvmsg(fd, (struct msghdr __user *)msg, flags |
MSG_CMSG_COMPAT);
}



This might be due to the translator not finding the $fd or missing debugging
information. All the syscall tests fail on fedora 9 x86_64 machine.

-- 
           Summary: sys.stp andtestsuite/systemtap.syscall/sys.stp fail on
                    2.6.25 x86_64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com


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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-10-13 14:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-05 20:05 [Bug translator/5890] New: sys.stp andtestsuite/systemtap.syscall/sys.stp fail on 2.6.25 x86_64 wcohen at redhat dot com
2008-03-05 20:12 ` [Bug translator/5890] " fche at redhat dot com
2008-03-05 22:09 ` wcohen at redhat dot com
2008-11-03 10:31 ` mjw at redhat dot com
2009-04-13 22:07 ` jistone at redhat dot com
2009-04-14 13:36 ` wcohen at redhat dot com
2009-10-09  0:11 ` przemyslaw at pawelczyk dot it
2009-10-09  2:57 ` jistone at redhat dot com
2009-10-09  9:14 ` przemyslaw at pawelczyk dot it
2009-10-09 17:49 ` jistone at redhat dot com
2009-10-13 14:23 ` przemyslaw at pawelczyk dot it

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).