summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhaolei <zhaolei>2007-12-21 06:58:08 +0000
committerzhaolei <zhaolei>2007-12-21 06:58:08 +0000
commitd9906189043883600f02adf50d599af2a4d553b7 (patch)
treef6c1153514b95c7a1f4386eef07971ce84f4c211
parent378acbfa928b22d6759f8a47c18dd621566ea100 (diff)
downloadsystemtap-steved-d9906189043883600f02adf50d599af2a4d553b7.tar.gz
systemtap-steved-d9906189043883600f02adf50d599af2a4d553b7.tar.xz
systemtap-steved-d9906189043883600f02adf50d599af2a4d553b7.zip
2007-12-21 Zhaolei <zhaolei@cn.fujitsu.com>
From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * aux_syscalls.stp (_futex_op_str): Add new futex options. (_stp_fork_list[]): Add new clone flags.
-rw-r--r--tapset/ChangeLog6
-rw-r--r--tapset/aux_syscalls.stp10
2 files changed, 16 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 084739b6..26fd4713 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-21 Zhaolei <zhaolei@cn.fujitsu.com>
+
+ From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
+ * aux_syscalls.stp (_futex_op_str): Add new futex options.
+ (_stp_fork_list[]): Add new clone flags.
+
2007-12-17 Martin Hunt <hunt@redhat.com>
* syscalls.stp (get_mempolicy): Fix syntax. Add prototype.
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 135ea98f..889f7af5 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -1034,6 +1034,14 @@ function _futex_op_str(op) {
if(op==6) return "FUTEX_LOCK_PI"
if(op==7) return "FUTEX_UNLOCK_PI"
if(op==8) return "FUTEX_TRYLOCK_PI"
+ if(op==128) return "FUTEX_WAIT_PRIVATE"
+ if(op==129) return "FUTEX_WAKE_PRIVATE"
+ if(op==131) return "FUTEX_REQUEUE_PRIVATE"
+ if(op==132) return "FUTEX_CMP_REQUEUE_PRIVATE"
+ if(op==133) return "FUTEX_WAKE_OP_PRIVATE"
+ if(op==134) return "FUTEX_LOCK_PI_PRIVATE"
+ if(op==135) return "FUTEX_UNLOCK_PI_PRIVATE"
+ if(op==136) return "FUTEX_TRYLOCK_PI_PRIVATE"
return sprintf("UNKNOWN VALUE: %d", op)
}
@@ -1677,6 +1685,8 @@ const _stp_val_array const _stp_fork_list[] = {
V(CLONE_UNTRACED),
V(CLONE_CHILD_SETTID),
V(CLONE_STOPPED),
+ V(CLONE_NEWIPC),
+ V(CLONE_NEWUSER),
{0, NULL}
};
%}