artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163ea4f
)
from netbsd; emulation records
author
deraadt
<deraadt@openbsd.org>
Thu, 14 Dec 1995 04:10:21 +0000
(
04:10
+0000)
committer
deraadt
<deraadt@openbsd.org>
Thu, 14 Dec 1995 04:10:21 +0000
(
04:10
+0000)
sys/kern/kern_ktrace.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_ktrace.c
b/sys/kern/kern_ktrace.c
index
5a8b64e
..
a506e96
100644
(file)
--- a/
sys/kern/kern_ktrace.c
+++ b/
sys/kern/kern_ktrace.c
@@
-1,4
+1,4
@@
-/* $NetBSD: kern_ktrace.c,v 1.2
0 1995/10/07 06:28:16 mycroft Exp $
*/
+/* $NetBSD: kern_ktrace.c,v 1.2
1 1995/10/22 00:35:06 christos Exp $
*/
/*
* Copyright (c) 1989, 1993
@@
-391,6
+391,13
@@
ktrops(curp, p, ops, facs, vp)
}
}
+ /*
+ * Emit an emulation record, every time there is a ktrace
+ * change/attach request.
+ */
+ if (KTRPOINT(p, KTR_EMUL))
+ ktremul(p->p_tracep, p->p_emul->e_name);
+
return (1);
}