* Added kernel tracing. Even with optional stack traces.

* Added "mode" parameter to set_paranoia_check(), which specifies
  whether the check is supposed to already exist/not exist yet. This
  allows for, as it turns out, very useful additional tests. Added
  {ADD,UPDATE}_PARANOIA_CHECK macros that imply the used "mode"
  parameter.
* PARANOIA_SLOT_COUNT was accidentally redefined in the source file.
* Fixed remove_paranoia_check(). It didn't remove anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25207 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-04-27 03:14:36 +00:00
parent 31b4f98f67
commit 2b8ae28a15
3 changed files with 193 additions and 12 deletions
+2
View File
@@ -20,6 +20,8 @@
//#define BLOCK_CACHE_TRANSACTION_TRACING
//#define KERNEL_HEAP_TRACING
//#define PAGE_ALLOCATION_TRACING
//#define PARANOIA_TRACING
//#define PARANOIA_TRACING_STACK_TRACE 0
//#define OBJECT_CACHE_TRACING
//#define RUNTIME_LOADER_TRACING
//#define SIGNAL_TRACING