xref: /haiku/build/config_headers/tracing_config.h (revision bd7645a12ab594d5eb1c6d6a70c3a82a429410dd)
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_DMA_TRACING							0
23 #define ATA_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 NET_BUFFER_TRACING						0
32 #define NET_BUFFER_TRACING_STACK_TRACE			0	/* stack trace depth */
33 #define PAGE_ALLOCATION_TRACING					0
34 #define PAGE_DAEMON_TRACING						0
35 #define PAGE_STATE_TRACING						0
36 #define PAGE_STATE_TRACING_STACK_TRACE			0	/* stack trace depth */
37 #define PAGE_WRITER_TRACING						0
38 #define PARANOIA_TRACING						0
39 #define PARANOIA_TRACING_STACK_TRACE			0	/* stack trace depth */
40 #define PORT_TRACING							0
41 #define RUNTIME_LOADER_TRACING					0
42 #define SCHEDULER_TRACING						0
43 #define SCHEDULING_ANALYSIS_TRACING				0
44 #define SIGNAL_TRACING							0
45 #define SLAB_MEMORY_MANAGER_TRACING				0
46 #define SLAB_OBJECT_CACHE_TRACING				0
47 #define SWAP_TRACING							0
48 #define SYSCALL_TRACING							0
49 #define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT	1
50 #define TCP_TRACING								0
51 #define TEAM_TRACING							0
52 #define USER_MALLOC_TRACING						0
53 #define VFS_PAGES_IO_TRACING					0
54 #define VM_CACHE_TRACING						0
55 #define VM_CACHE_TRACING_STACK_TRACE			0	/* stack trace depth */
56 #define VM_PAGE_FAULT_TRACING					0
57 #define WAIT_FOR_OBJECTS_TRACING				0
58 
59 #endif	// ENABLE_TRACING
60 
61 #endif	// KERNEL_TRACING_CONFIG_H
62