summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}
};
%}