summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
authorhiramatu <hiramatu>2008-01-04 19:39:54 +0000
committerhiramatu <hiramatu>2008-01-04 19:39:54 +0000
commitb5121873c8e4cf5c89105d93b76c1fe7c8f10811 (patch)
tree1231995c07e6f0a1c41509470fbc475fc29c0eec /tapset
parent359d2f90a10e8e374f259d2bc0a5c0d460815842 (diff)
downloadsystemtap-steved-b5121873c8e4cf5c89105d93b76c1fe7c8f10811.tar.gz
systemtap-steved-b5121873c8e4cf5c89105d93b76c1fe7c8f10811.tar.xz
systemtap-steved-b5121873c8e4cf5c89105d93b76c1fe7c8f10811.zip
2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>
* aux_syscalls.stp (_stp_fork_list): Check kernel version for new flags.
Diffstat (limited to 'tapset')
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/aux_syscalls.stp4
2 files changed, 9 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 0cec6fc3..5519ef58 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,5 +1,10 @@
2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>
+ * aux_syscalls.stp (_stp_fork_list): Check kernel version for new
+ flags.
+
+2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>
+
PR5152
* scheduler.stp (scheduler.ctxswitch): Change probe point __switch_to
to context_switch on ia64.
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 9120c4e6..da72a7ff 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -1685,8 +1685,12 @@ const _stp_val_array const _stp_fork_list[] = {
V(CLONE_UNTRACED),
V(CLONE_CHILD_SETTID),
V(CLONE_STOPPED),
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
V(CLONE_NEWIPC),
+#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
V(CLONE_NEWUSER),
+#endif
{0, NULL}
};
%}