Adjust to new trace_{enter,exit} signature.
This commit is contained in:
parent
cb193dfbea
commit
83807bfa20
@ -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.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
#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/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -282,7 +282,7 @@ linux_syscall_fancy(struct lwp *l, uint64_t code, struct trapframe *framep)
|
|||||||
args += hidden;
|
args += hidden;
|
||||||
|
|
||||||
|
|
||||||
if ((error = trace_enter(code, args, callp->sy_narg)) != 0)
|
if ((error = trace_enter(code, callp, args)) != 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
rval[0] = 0;
|
rval[0] = 0;
|
||||||
@ -308,7 +308,7 @@ out:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
trace_exit(code, rval, error);
|
trace_exit(code, callp, args, rval, error);
|
||||||
|
|
||||||
userret(l);
|
userret(l);
|
||||||
}
|
}
|
||||||
|
@ -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.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
#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/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -278,7 +278,7 @@ osf1_syscall_fancy(struct lwp *l, uint64_t code, struct trapframe *framep)
|
|||||||
}
|
}
|
||||||
args += hidden;
|
args += hidden;
|
||||||
|
|
||||||
if ((error = trace_enter(code, args, callp->sy_narg)) != 0)
|
if ((error = trace_enter(code, callp, args)) != 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
rval[0] = 0;
|
rval[0] = 0;
|
||||||
@ -304,7 +304,7 @@ out:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
trace_exit(code, rval, error);
|
trace_exit(code, callp, args, rval, error);
|
||||||
|
|
||||||
userret(l);
|
userret(l);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user