Module Name:    src
Committed By:   christos
Date:           Sat Apr  2 21:03:13 UTC 2016

Modified Files:
        src/sys/kern: systrace_args.c

Log Message:
one more


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/systrace_args.c
diff -u src/sys/kern/systrace_args.c:1.15 src/sys/kern/systrace_args.c:1.16
--- src/sys/kern/systrace_args.c:1.15	Tue Jan 26 18:49:46 2016
+++ src/sys/kern/systrace_args.c	Sat Apr  2 17:03:13 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace_args.c,v 1.15 2016/01/26 23:49:46 pooka Exp $ */
+/* $NetBSD: systrace_args.c,v 1.16 2016/04/02 21:03:13 christos Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -3657,6 +3657,18 @@ systrace_args(register_t sysnum, const v
 		*n_args = 4;
 		break;
 	}
+	/* sys_wait6 */
+	case 481: {
+		struct sys_wait6_args *p = params;
+		iarg[0] = SCARG(p, idtype); /* idtype_t */
+		iarg[1] = SCARG(p, id); /* id_t */
+		uarg[2] = (intptr_t) SCARG(p, status); /* int * */
+		iarg[3] = SCARG(p, options); /* int */
+		uarg[4] = (intptr_t) SCARG(p, wru); /* struct wrusage * */
+		uarg[5] = (intptr_t) SCARG(p, info); /* siginfo_t * */
+		*n_args = 6;
+		break;
+	}
 	default:
 		*n_args = 0;
 		break;
@@ -9847,6 +9859,31 @@ systrace_entry_setargdesc(int sysnum, in
 			break;
 		};
 		break;
+	/* sys_wait6 */
+	case 481:
+		switch(ndx) {
+		case 0:
+			p = "idtype_t";
+			break;
+		case 1:
+			p = "id_t";
+			break;
+		case 2:
+			p = "int *";
+			break;
+		case 3:
+			p = "int";
+			break;
+		case 4:
+			p = "struct wrusage *";
+			break;
+		case 5:
+			p = "siginfo_t *";
+			break;
+		default:
+			break;
+		};
+		break;
 	default:
 		break;
 	};
@@ -11924,6 +11961,11 @@ systrace_return_setargdesc(int sysnum, i
 		if (ndx == 0 || ndx == 1)
 			p = "int";
 		break;
+	/* sys_wait6 */
+	case 481:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
 	default:
 		break;
 	};

Reply via email to