xref: /haiku/build/config_headers/tracing_config.h (revision cfc3fa87da824bdf593eb8b817a83b6376e77935)
1 #ifndef KERNEL_TRACING_CONFIG_H
2 #define KERNEL_TRACING_CONFIG_H
3 
4 // general settings
5 
6 // enable tracing (0/1)
7 #ifndef ENABLE_TRACING
8 #	define ENABLE_TRACING 0
9 #endif
10 
11 // tracing buffer size (in bytes)
12 #ifndef MAX_TRACE_SIZE
13 #	define MAX_TRACE_SIZE (1024 * 1024)
14 #endif
15 
16 
17 // macros that enable tracing for individual components
18 
19 //#define BMESSAGE_TRACING
20 //#define BLOCK_CACHE_TRANSACTION_TRACING
21 //#define KERNEL_HEAP_TRACING
22 //#define PAGE_ALLOCATION_TRACING
23 //#define RUNTIME_LOADER_TRACING
24 //#define SIGNAL_TRACING
25 //#define SYSCALL_TRACING
26 //#define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT
27 //#define TEAM_TRACING
28 //#define USER_MALLOC_TRACING
29 
30 #endif	// KERNEL_TRACING_CONFIG_H
31