Build configurations shouldn't be done in svn controlled files, so I
finally created a solution to avoid that: Header files that contain configuration settings (and nothing else) go to build/config_headers. To change settings, create a directory build/user_config_headers (which is ignored by svn), copy the respective header there and modify it at your leisure. Currently only tracing_config.h has been moved to the new location, but more files will follow eventually. It is also recommended to move optional macro definitions in Jamfile (as for BFS) to a config header instead; the build system will then automatically rebuild on changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24611 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <tracing_config.h>
|
||||
#include "tracing_config.h"
|
||||
|
||||
|
||||
struct trace_entry {
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
#ifndef KERNEL_TRACING_CONFIG_H
|
||||
#define KERNEL_TRACING_CONFIG_H
|
||||
|
||||
// general settings
|
||||
|
||||
// enable tracing (0/1)
|
||||
#ifndef ENABLE_TRACING
|
||||
# define ENABLE_TRACING 0
|
||||
#endif
|
||||
|
||||
// tracing buffer size (in bytes)
|
||||
#ifndef MAX_TRACE_SIZE
|
||||
# define MAX_TRACE_SIZE (1024 * 1024)
|
||||
#endif
|
||||
|
||||
|
||||
// macros that enable tracing for individual components
|
||||
|
||||
//#define BMESSAGE_TRACING
|
||||
//#define BLOCK_CACHE_TRANSACTION_TRACING
|
||||
//#define KERNEL_HEAP_TRACING
|
||||
//#define RUNTIME_LOADER_TRACING
|
||||
//#define SIGNAL_TRACING
|
||||
//#define SYSCALL_TRACING
|
||||
//#define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT
|
||||
//#define TEAM_TRACING
|
||||
//#define USER_MALLOC_TRACING
|
||||
|
||||
#endif // KERNEL_TRACING_CONFIG_H
|
||||
Reference in New Issue
Block a user