mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 18:56:49 +01:00
8e8edffce7
block would be incorrectly addressed when allocating a stream - this could cause random blocks to be overwritten, and therefore could cause many sorts of problems. * Moved BFS_TRACING macro to the tracing_config.h file, and let it follow the new semantics of those other macros in there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25249 a95241bf-73f2-0310-859d-f6bbb57e9c96
41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
#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 (20 * 1024 * 1024)
|
|
#endif
|
|
|
|
|
|
#if ENABLE_TRACING
|
|
|
|
// macros specifying the tracing level for individual components (0 is disabled)
|
|
|
|
#define BFS_TRACING 0
|
|
#define BLOCK_CACHE_TRANSACTION_TRACING 0
|
|
#define BMESSAGE_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 NET_BUFFER_TRACING 0
|
|
#define RUNTIME_LOADER_TRACING 0
|
|
#define SIGNAL_TRACING 0
|
|
#define SYSCALL_TRACING 0
|
|
#define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT 1
|
|
#define TCP_TRACING 0
|
|
#define TEAM_TRACING 0
|
|
#define USER_MALLOC_TRACING 0
|
|
|
|
#endif // ENABLE_TRACING
|
|
|
|
#endif // KERNEL_TRACING_CONFIG_H
|