xref: /haiku/build/config_headers/tracing_config.h (revision 0d066dea36860490a670e4120e08966ae83406df)
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 (20 * 1024 * 1024)
14 #endif
15 
16 
17 #if ENABLE_TRACING
18 
19 // macros specifying the tracing level for individual components (0 is disabled)
20 
21 #define AHCI_PORT_TRACING						0
22 #define BFS_TRACING								0
23 #define BLOCK_CACHE_BLOCK_TRACING				0
24 #define BLOCK_CACHE_TRANSACTION_TRACING			0
25 #define BMESSAGE_TRACING						0
26 #define KERNEL_HEAP_TRACING						0
27 #define KTRACE_PRINTF_STACK_TRACE				0	/* stack trace depth */
28 #define PAGE_ALLOCATION_TRACING					0
29 #define PARANOIA_TRACING						0
30 #define PARANOIA_TRACING_STACK_TRACE			0	/* stack trace depth */
31 #define OBJECT_CACHE_TRACING					0
32 #define NET_BUFFER_TRACING						0
33 #define NET_BUFFER_TRACING_STACK_TRACE			0	/* stack trace depth */
34 #define RUNTIME_LOADER_TRACING					0
35 #define SIGNAL_TRACING							0
36 #define SYSCALL_TRACING							0
37 #define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT	1
38 #define TCP_TRACING								0
39 #define TEAM_TRACING							0
40 #define USER_MALLOC_TRACING						0
41 #define VM_CACHE_TRACING						0
42 #define WAIT_FOR_OBJECTS_TRACING				0
43 
44 #endif	// ENABLE_TRACING
45 
46 #endif	// KERNEL_TRACING_CONFIG_H
47