aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/config.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-14 14:17:03 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-14 14:17:03 +0100
commit4672f514591f0f7110103c4cd898909aef95b635 (patch)
tree59a7edc5fd7b1c9c567ada4ec74afe1ed30d5d15 /src/kernel/config.h
parentf811e0126639c3cc14c285f2e2093d0df1b556af (diff)
downloadkogata-4672f514591f0f7110103c4cd898909aef95b635.tar.gz
kogata-4672f514591f0f7110103c4cd898909aef95b635.zip
Fix region allocator (see changes in region.c!) ; debug spam control.
Diffstat (limited to 'src/kernel/config.h')
-rw-r--r--src/kernel/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/config.h b/src/kernel/config.h
index f50a4ff..4d5d01f 100644
--- a/src/kernel/config.h
+++ b/src/kernel/config.h
@@ -26,4 +26,10 @@
#define DBGLOG_TO_SERIAL
//#define DBGLOG_TO_SCREEN
+// Several message types that spam the debug console
+#define SPAM_CONTEXT_SWITCH 0 // show each context switch
+#define SPAM_WAIT_RESUME_ON 0 // trace wait_on and resume_on calls
+#define SPAM_FS_REF 0 // show reference inc/dec on VFS items
+#define SPAM_BEGIN_EXIT 1 // trace thread creation/deletion && process begin/exit
+
/* vim: set ts=4 sw=4 tw=0 noet :*/