* Changed macros that enable tracing for individual components from

defined/undefined to numeric values (0 for undefined). This allows for
  trace levels.
* Set SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT default to 1, since this is
  what one usually wants.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25213 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-04-27 14:24:18 +00:00
parent 5975ad0cfc
commit 6bf15ffcdc
11 changed files with 33 additions and 27 deletions
+18 -14
View File
@@ -14,20 +14,24 @@
#endif
// macros that enable tracing for individual components
#if ENABLE_TRACING
//#define BMESSAGE_TRACING
//#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
//#define SYSCALL_TRACING
//#define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT
//#define TEAM_TRACING
//#define USER_MALLOC_TRACING
// macros specifying the tracing level for individual components (0 is disabled)
#define BMESSAGE_TRACING 0
#define BLOCK_CACHE_TRANSACTION_TRACING 0
#define KERNEL_HEAP_TRACING 0
#define PAGE_ALLOCATION_TRACING 0
#define PARANOIA_TRACING 0
#define PARANOIA_TRACING_STACK_TRACE 0 /* stack traced depth */
#define OBJECT_CACHE_TRACING 0
#define RUNTIME_LOADER_TRACING 0
#define SIGNAL_TRACING 0
#define SYSCALL_TRACING 0
#define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT 1
#define TEAM_TRACING 0
#define USER_MALLOC_TRACING 0
#endif // ENABLE_TRACING
#endif // KERNEL_TRACING_CONFIG_H