Module Name: src Committed By: christos Date: Sat Mar 7 18:51:44 UTC 2015
Modified Files: src/sys/arch/alpha/alpha: linux_syscall.c osf1_syscall.c Log Message: Adjust to new trace_{enter,exit} signature. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/alpha/alpha/linux_syscall.c cvs rdiff -u -r1.34 -r1.35 src/sys/arch/alpha/alpha/osf1_syscall.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/arch/alpha/alpha/linux_syscall.c diff -u src/sys/arch/alpha/alpha/linux_syscall.c:1.32 src/sys/arch/alpha/alpha/linux_syscall.c:1.33 --- src/sys/arch/alpha/alpha/linux_syscall.c:1.32 Sun Feb 5 21:14:11 2012 +++ src/sys/arch/alpha/alpha/linux_syscall.c Sat Mar 7 13:51:44 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_syscall.c,v 1.32 2012/02/06 02:14:11 matt Exp $ */ +/* $NetBSD: linux_syscall.c,v 1.33 2015/03/07 18:51:44 christos Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -89,7 +89,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.32 2012/02/06 02:14:11 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.33 2015/03/07 18:51:44 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -282,7 +282,7 @@ linux_syscall_fancy(struct lwp *l, uint6 args += hidden; - if ((error = trace_enter(code, args, callp->sy_narg)) != 0) + if ((error = trace_enter(code, callp, args)) != 0) goto out; rval[0] = 0; @@ -308,7 +308,7 @@ out: break; } - trace_exit(code, rval, error); + trace_exit(code, callp, args, rval, error); userret(l); } Index: src/sys/arch/alpha/alpha/osf1_syscall.c diff -u src/sys/arch/alpha/alpha/osf1_syscall.c:1.34 src/sys/arch/alpha/alpha/osf1_syscall.c:1.35 --- src/sys/arch/alpha/alpha/osf1_syscall.c:1.34 Sun Feb 5 21:14:12 2012 +++ src/sys/arch/alpha/alpha/osf1_syscall.c Sat Mar 7 13:51:44 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_syscall.c,v 1.34 2012/02/06 02:14:12 matt Exp $ */ +/* $NetBSD: osf1_syscall.c,v 1.35 2015/03/07 18:51:44 christos Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -89,7 +89,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.34 2012/02/06 02:14:12 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.35 2015/03/07 18:51:44 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -278,7 +278,7 @@ osf1_syscall_fancy(struct lwp *l, uint64 } args += hidden; - if ((error = trace_enter(code, args, callp->sy_narg)) != 0) + if ((error = trace_enter(code, callp, args)) != 0) goto out; rval[0] = 0; @@ -304,7 +304,7 @@ out: break; } - trace_exit(code, rval, error); + trace_exit(code, callp, args, rval, error); userret(l); }