mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
97c0a2b3f1
* cache paranoia was always enabled. * Changed from paranoia on/off to levels. Adjusted the macros to take a level argument. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25215 a95241bf-73f2-0310-859d-f6bbb57e9c96
27 lines
619 B
C
27 lines
619 B
C
#ifndef DEBUG_PARANOIA_CONFIG_H
|
|
#define DEBUG_PARANOIA_CONFIG_H
|
|
|
|
|
|
// enable paranoia checks (0/1)
|
|
#ifndef ENABLE_PARANOIA_CHECKS
|
|
# define ENABLE_PARANOIA_CHECKS 0
|
|
#endif
|
|
|
|
// number of check slots (should depend on the components for which checks
|
|
// are enabled)
|
|
#define PARANOIA_SLOT_COUNT (32 * 1024)
|
|
|
|
|
|
// macros that set the paranoia check level for individual components
|
|
// levels:
|
|
// * PARANOIA_NAIVE (checks disabled)
|
|
// * PARANOIA_SUSPICIOUS
|
|
// * PARANOIA_OBSESSIVE
|
|
// * PARANOIA_INSANE
|
|
|
|
#define NET_BUFFER_PARANOIA PARANOIA_NAIVE
|
|
#define OBJECT_CACHE_PARANOIA PARANOIA_NAIVE
|
|
|
|
|
|
#endif // DEBUG_PARANOIA_CONFIG_H
|