From 7c2c0cece14deee41a6cc3def2928808d73881b0 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Fri, 10 Nov 2000 18:15:50 +0000 Subject: 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. --- sys/arch/alpha/alpha/trap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/alpha') 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 } -- cgit v1.2.3