Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add MALLOCLOG



details:   https://anonhg.NetBSD.org/src/rev/8079ee03c993
branches:  trunk
changeset: 554709:8079ee03c993
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 01 06:50:13 2003 +0000

description:
Add MALLOCLOG

diffstat:

 sys/sys/lkm.h |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1423534fbe9c -r 8079ee03c993 sys/sys/lkm.h
--- a/sys/sys/lkm.h     Sat Nov 01 06:30:44 2003 +0000
+++ b/sys/sys/lkm.h     Sat Nov 01 06:50:13 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lkm.h,v 1.30 2003/09/06 19:08:53 jdolecek Exp $        */
+/*     $NetBSD: lkm.h,v 1.31 2003/11/01 06:50:13 christos Exp $        */
 
 /*
  * Header file used by loadable kernel modules and loadable kernel module
@@ -261,9 +261,15 @@
 #define _LKM_E_MULTIPROCESSOR  ""
 #endif
 
+#ifdef MALLOCLOG
+#define _LKM_E_MALLOCLOG       ",MALLOCLOG"
+#else
+#define _LKM_E_MALLOCLOG       ""
+#endif
+
 #define        _LKM_ENV_VERSION        \
        _LKM_E_DEBUG _LKM_E_DIAGNOSTIC _LKM_E_LOCKDEBUG \
-       _LKM_E_MULTIPROCESSOR
+       _LKM_E_MULTIPROCESSOR _LKM_E_MALLOCLOG
 
 int lkm_nofunc __P((struct lkm_table *, int));
 int lkmexists __P((struct lkm_table *));



Home | Main Index | Thread Index | Old Index