summaryrefslogtreecommitdiff
path: root/sys/arch/arc
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/arc
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/arc')
-rw-r--r--sys/arch/arc/arc/trap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/arc/arc/trap.c b/sys/arch/arc/arc/trap.c
index 297686ce355..e3373732457 100644
--- a/sys/arch/arc/arc/trap.c
+++ b/sys/arch/arc/arc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.24 2000/06/08 10:31:15 art Exp $ */
+/* $OpenBSD: trap.c,v 1.25 2000/11/10 18:15:36 art Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -520,7 +520,7 @@ trap(statusReg, causeReg, vadr, pc, f)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSCALL))
- ktrsyscall(p->p_tracep, code,
+ ktrsyscall(p, code,
callp->sy_argsize,
args.i);
#endif
@@ -555,7 +555,7 @@ trap(statusReg, causeReg, vadr, pc, f)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSCALL))
- ktrsyscall(p->p_tracep, code,
+ ktrsyscall(p, code,
callp->sy_argsize,
args.i);
#endif
@@ -587,7 +587,7 @@ trap(statusReg, causeReg, vadr, pc, f)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSCALL))
- ktrsyscall(p->p_tracep, code,
+ ktrsyscall(p, code,
callp->sy_argsize,
args.i);
#endif
@@ -600,7 +600,7 @@ trap(statusReg, causeReg, vadr, pc, f)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSCALL))
- ktrsyscall(p->p_tracep, code, callp->sy_argsize, args.i);
+ ktrsyscall(p, code, callp->sy_argsize, args.i);
#endif
rval[0] = 0;
rval[1] = locr0[V1];
@@ -657,7 +657,7 @@ trap(statusReg, causeReg, vadr, pc, f)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSRET))
- ktrsysret(p->p_tracep, code, i, rval[0]);
+ ktrsysret(p, code, i, rval[0]);
#endif
goto out;
}