summaryrefslogtreecommitdiffstats
path: root/tapset/aux_syscalls.stp
diff options
context:
space:
mode:
authorhunt <hunt>2007-08-22 20:41:32 +0000
committerhunt <hunt>2007-08-22 20:41:32 +0000
commit8c5d59b09cbfbd09f1d550c06250716a07505ae5 (patch)
tree2cd144aaf06b63968ae2b1248048394a0306c9ba /tapset/aux_syscalls.stp
parent7c3ef17f4bb725eeac99d0144de742b0269746e8 (diff)
downloadsystemtap-steved-8c5d59b09cbfbd09f1d550c06250716a07505ae5.tar.gz
systemtap-steved-8c5d59b09cbfbd09f1d550c06250716a07505ae5.tar.xz
systemtap-steved-8c5d59b09cbfbd09f1d550c06250716a07505ae5.zip
2007-08-22 Martin Hunt <hunt@redhat.com>
* ppc64/syscalls.stp: Remove a bunch of non-ppc64 specific probes. * syscalls.stp (compat_sys_epoll_ctl): New. (compat_sys_epoll_wait): New. (sys_epoll_pwait): New. (compat_sys_epoll_pwait): New. (compat_sys_keyctl): New. (compat_sys_mq_open): New. (compat_sys_futex): New. (compat_sys_mq_timedsend): New. (compat_sys_mq_timedreceive): New. (compat_sys_mq_notify): New. (compat_sys_mq_getsetattr): New. (init_module): Make optional and quote args. (sys_eventfd): New. * syscalls2.stp (sys_splice): New. (sys_vmsplice): New. (compat_sys_vmsplice): New. (sys_tee): New. (sys_signalfd): New. (compat_sys_signalfd): New. (sys_timerfd): New. (compat_sys_timerfd): New. (old32_readdir): New.
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r--tapset/aux_syscalls.stp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index c7cc06de..808c3503 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -117,7 +117,7 @@ function _struct_utimbuf_u:string(uaddr:long)
if(_stp_copy_from_user((char*)&ubuf,ptr,sizeof(ubuf)) == 0) {
_stp_ctime(ubuf.actime, abuf, 24);
_stp_ctime(ubuf.modtime, mbuf, 24);
- snprintf(THIS->__retvalue, MAXSTRINGLEN, "%s, %s", abuf, mbuf);
+ snprintf(THIS->__retvalue, MAXSTRINGLEN, "[%s, %s]", abuf, mbuf);
} else
strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN);
}
@@ -136,7 +136,7 @@ function _struct_compat_utimbuf_u:string(uaddr:long)
if(_stp_copy_from_user((char*)&ubuf,ptr,sizeof(ubuf)) == 0) {
_stp_ctime(ubuf.actime, abuf, 24);
_stp_ctime(ubuf.modtime, mbuf, 24);
- snprintf(THIS->__retvalue, MAXSTRINGLEN, "%s, %s", abuf, mbuf);
+ snprintf(THIS->__retvalue, MAXSTRINGLEN, "[%s, %s]", abuf, mbuf);
} else
strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN);
}
@@ -1736,7 +1736,7 @@ function _dfd_str(d) {
return sprint(d)
}
-function _utimensat_flag_str(f) {
+function _at_flag_str(f) {
if (f == 0x100) return "AT_SYMLINK_NOFOLLOW"
return sprintf("0x%x", f)
}