Moved tracing macro definitions into separate tracing_config.h header.

So now there's a central place to enable tracing in general and for
individual components.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23645 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-01-19 17:24:34 +00:00
parent 5f7a62cfdd
commit ab23dfa7f7
7 changed files with 30 additions and 16 deletions
+4 -5
View File
@@ -1,5 +1,5 @@
#ifndef KERNEL_UTIL_TRACING_H
#define KERNEL_UTIL_TRACING_H
#ifndef KERNEL_TRACING_H
#define KERNEL_TRACING_H
#include <SupportDefs.h>
@@ -7,9 +7,8 @@
#include <stdio.h>
#include <tracing_config.h>
#define ENABLE_TRACING 0
#define MAX_TRACE_SIZE 1024 * 1024
struct trace_entry {
uint16 size;
@@ -88,4 +87,4 @@ status_t tracing_init(void);
}
#endif
#endif /* KERNEL_UTIL_TRACING_H */
#endif /* KERNEL_TRACING_H */