diff options
author | dt <dt@FreeBSD.org> | 1999-06-16 18:55:35 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-06-16 18:55:35 +0000 |
commit | 9ff44d83fe22b084e700851e4c32720491d3a8d7 (patch) | |
tree | f0e65a466d1dcb725c6c67366870c8cfa793b12d | |
parent | 2dd8d7a0bcd2b562a5f479e2db9a297cf7d91c42 (diff) | |
download | FreeBSD-src-9ff44d83fe22b084e700851e4c32720491d3a8d7.zip FreeBSD-src-9ff44d83fe22b084e700851e4c32720491d3a8d7.tar.gz |
Make syscall tracing work: include "opt_ktrace.h" and make it compile.
-rw-r--r-- | sys/alpha/alpha/trap.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c index 0e7b375..9435937 100644 --- a/sys/alpha/alpha/trap.c +++ b/sys/alpha/alpha/trap.c @@ -1,4 +1,4 @@ -/* $Id: trap.c,v 1.15 1999/06/08 16:42:17 dt Exp $ */ +/* $Id: trap.c,v 1.16 1999/06/10 20:40:58 dt Exp $ */ /* $NetBSD: trap.c,v 1.31 1998/03/26 02:21:46 thorpej Exp $ */ /* @@ -30,6 +30,7 @@ /* #include "opt_fix_unaligned_vax_fp.h" */ #include "opt_ddb.h" +#include "opt_ktrace.h" #include "opt_simos.h" #include <sys/param.h> @@ -59,6 +60,11 @@ #include <machine/pal.h> #include <machine/fpu.h> +#ifdef KTRACE +#include <sys/uio.h> +#include <sys/ktrace.h> +#endif + #ifdef DDB #include <ddb/ddb.h> #endif @@ -657,7 +663,7 @@ syscall(code, framep) userret(p, framep->tf_regs[FRAME_PC], sticks); #ifdef KTRACE if (KTRPOINT(p, KTR_SYSRET)) - ktrsysret(p->p_tracep, code, error, rval[0]); + ktrsysret(p->p_tracep, code, error, p->p_retval[0]); #endif /* |