diff options
author | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
commit | 645e7b2ab6676a2a3a05a59a053929d3b7732b4d (patch) | |
tree | 99b56513fb3f54852886a3d0eb7c8b3e1a9f2602 /sys/kern/kern_ktrace.c | |
parent | a14e4dea11b5b83147d62a7cb7dacdec1ea19e15 (diff) | |
download | FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.zip FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.tar.gz |
Distribute and statizice a lot of the malloc M_* types.
Substantial input from: bde
Diffstat (limited to 'sys/kern/kern_ktrace.c')
-rw-r--r-- | sys/kern/kern_ktrace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c index f8e4e25..3c52aed 100644 --- a/sys/kern/kern_ktrace.c +++ b/sys/kern/kern_ktrace.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)kern_ktrace.c 8.2 (Berkeley) 9/23/93 - * $Id: kern_ktrace.c,v 1.17 1997/02/22 09:39:05 peter Exp $ + * $Id: kern_ktrace.c,v 1.18 1997/03/23 03:36:19 bde Exp $ */ #include "opt_ktrace.h" @@ -47,6 +47,8 @@ #include <sys/malloc.h> #include <sys/syslog.h> +MALLOC_DEFINE(M_KTRACE, "KTRACE", "KTRACE"); + #ifdef KTRACE static struct ktr_header *ktrgetheader __P((int type)); static void ktrwrite __P((struct vnode *, struct ktr_header *)); |