This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5890] New: sys.stp andtestsuite/systemtap.syscall/sys.stp fail on 2.6.25 x86_64
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 5 Mar 2008 20:04:41 -0000
- Subject: [Bug translator/5890] New: sys.stp andtestsuite/systemtap.syscall/sys.stp fail on 2.6.25 x86_64
- Reply-to: sourceware-bugzilla at sourceware dot org
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.