Created a central place for putting kernel debug enabling macros.

Currently it only contains KDEBUG and the block cache debugging macros.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27816 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-10-01 11:56:44 +00:00
parent 165e3a7944
commit f8bdc2443d
3 changed files with 30 additions and 10 deletions
@@ -0,0 +1,22 @@
#ifndef KERNEL_DEBUG_CONFIG_H
#define KERNEL_DEBUG_CONFIG_H
// general kernel debugging
// Enables kernel ASSERT()s and various checks, locking primitives aren't
// benaphore-style.
#define KDEBUG 1
// block cache
// Enables debugger commands.
#define DEBUG_BLOCK_CACHE
// Enables checks that non-dirty blocks really aren't changed. Seriously
// degrades performance when the block cache is used heavily.
#define BLOCK_CACHE_DEBUG_CHANGED
#endif // KERNEL_DEBUG_CONFIG_H