Adjust to new trace_{enter,exit} signature.

This commit is contained in:
christos 2015-03-07 18:51:44 +00:00
parent cb193dfbea
commit 83807bfa20
2 changed files with 8 additions and 8 deletions

View File

@ -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, uint64_t code, struct trapframe *framep)
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);
}

View File

@ -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_t code, struct trapframe *framep)
}
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);
}