summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-11-10 18:15:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-11-10 18:15:50 +0000
commit7c2c0cece14deee41a6cc3def2928808d73881b0 (patch)
tree871f91c39959ffa32ae5ac773513265eb121d8c9 /sys/arch/alpha
parent38a9424b2fc187e798fe3a91366490408b112921 (diff)
Change the ktrace interface functions from taking the trace vnode to taking the
traced proc. The vnode is in the proc and all functions need the proc.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/trap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/trap.c b/sys/arch/alpha/alpha/trap.c
index 157814b717c..25d5cd6870f 100644
--- a/sys/arch/alpha/alpha/trap.c
+++ b/sys/arch/alpha/alpha/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.21 2000/11/08 19:16:59 ericj Exp $ */
+/* $OpenBSD: trap.c,v 1.22 2000/11/10 18:15:33 art Exp $ */
/* $NetBSD: trap.c,v 1.52 2000/05/24 16:48:33 thorpej Exp $ */
/*-
@@ -680,7 +680,7 @@ syscall(code, framep)
}
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSCALL))
- ktrsyscall(p->p_tracep, code, callp->sy_argsize, args + hidden);
+ ktrsyscall(p, code, callp->sy_argsize, args + hidden);
#endif
#ifdef SYSCALL_DEBUG
scdebug_call(p, code, args + hidden);
@@ -722,7 +722,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, code, error, rval[0]);
#endif
}
@@ -742,7 +742,7 @@ child_return(arg)
userret(p, p->p_md.md_tf->tf_regs[FRAME_PC], 0);
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSRET))
- ktrsysret(p->p_tracep, SYS_fork, 0, 0);
+ ktrsysret(p, SYS_fork, 0, 0);
#endif
}