xref: /haiku/build/config_headers/paranoia_config.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 #ifndef DEBUG_PARANOIA_CONFIG_H
2 #define DEBUG_PARANOIA_CONFIG_H
3 
4 
5 // enable paranoia checks (0/1)
6 #ifndef ENABLE_PARANOIA_CHECKS
7 #	define ENABLE_PARANOIA_CHECKS 0
8 #endif
9 
10 // number of check slots (should depend on the components for which checks
11 // are enabled)
12 #define PARANOIA_SLOT_COUNT	(32 * 1024)
13 
14 
15 // macros that set the paranoia check level for individual components
16 // levels:
17 // * PARANOIA_NAIVE (checks disabled)
18 // * PARANOIA_SUSPICIOUS
19 // * PARANOIA_OBSESSIVE
20 // * PARANOIA_INSANE
21 
22 #define NET_BUFFER_PARANOIA		PARANOIA_NAIVE
23 #define OBJECT_CACHE_PARANOIA	PARANOIA_NAIVE
24 
25 
26 #endif	// DEBUG_PARANOIA_CONFIG_H
27