This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/11763] New: on s390x, nd_syscall probes that use $arg6 fail
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 28 Jun 2010 20:04:23 -0000
- Subject: [Bug tapsets/11763] New: on s390x, nd_syscall probes that use $arg6 fail
- Reply-to: sourceware-bugzilla at sourceware dot org
In tapsets/s390x/registers.stp, the function _stp_arg() has this comment before it:
/*
* Return the value of function arg #argnum (1=first arg).
...
* We don't yet support extracting arg #6 and beyond, which are passed
* on stack
*/
Since the s390x doesn't support extracting arg6 (or greater), this means that
the following nd_syscall probes fail:
nd_syscall.epoll_pwait *
nd_syscall.fork
nd_syscall.futex
nd_syscall.compat_futex
nd_syscall.mbind *
nd_syscall.move_pages *
nd_syscall.pselect6
nd_syscall.compat_pselect6
nd_syscall.pselect7
nd_syscall.compat_pselect7a
nd_syscall.recvfrom
nd_syscall.sendto
nd_syscall.splice
Note that the optional probes marked with '*' don't actually exist on RHEL5
s390x (kernel 2.6.18-194.el5), but might exist in newer kernels.
When the nd_syscalls.exp testcase is run, errors like the following will be seen:
ERROR: Cannot access arg(6)
--
Summary: on s390x, nd_syscall probes that use $arg6 fail
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
GCC host triplet: s390x
http://sourceware.org/bugzilla/show_bug.cgi?id=11763
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.