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