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:
@@ -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
|
||||
Reference in New Issue
Block a user