xref: /haiku/build/config_headers/tracing_config.h (revision 81f9115df076e02ae50761d33ecec46fb87ba550)
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 ATA_TRACING								0
23 #define ATA_DMA_TRACING							0
24 #define ATAPI_TRACING							0
25 #define BFS_TRACING								0
26 #define BLOCK_CACHE_BLOCK_TRACING				0
27 #define BLOCK_CACHE_TRANSACTION_TRACING			0
28 #define BMESSAGE_TRACING						0
29 #define KERNEL_HEAP_TRACING						0
30 #define KTRACE_PRINTF_STACK_TRACE				0	/* stack trace depth */
31 #define PAGE_ALLOCATION_TRACING					0
32 #define PAGE_DAEMON_TRACING						0
33 #define PAGE_WRITER_TRACING						0
34 #define PARANOIA_TRACING						0
35 #define PARANOIA_TRACING_STACK_TRACE			0	/* stack trace depth */
36 #define OBJECT_CACHE_TRACING					0
37 #define NET_BUFFER_TRACING						0
38 #define NET_BUFFER_TRACING_STACK_TRACE			0	/* stack trace depth */
39 #define RUNTIME_LOADER_TRACING					0
40 #define SCHEDULER_TRACING						0
41 #define SCHEDULING_ANALYSIS_TRACING				0
42 #define SIGNAL_TRACING							0
43 #define SWAP_TRACING							0
44 #define SYSCALL_TRACING							0
45 #define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT	1
46 #define TCP_TRACING								0
47 #define TEAM_TRACING							0
48 #define USER_MALLOC_TRACING						0
49 #define VFS_PAGES_IO_TRACING					0
50 #define VM_CACHE_TRACING						0
51 #define VM_PAGE_FAULT_TRACING					0
52 #define WAIT_FOR_OBJECTS_TRACING				0
53 
54 #endif	// ENABLE_TRACING
55 
56 #endif	// KERNEL_TRACING_CONFIG_H
57