2008-01-19 17:24:34 +00:00
|
|
|
#ifndef KERNEL_TRACING_CONFIG_H
|
|
|
|
#define KERNEL_TRACING_CONFIG_H
|
|
|
|
|
|
|
|
// general settings
|
|
|
|
|
|
|
|
// enable tracing (0/1)
|
|
|
|
#ifndef ENABLE_TRACING
|
|
|
|
# define ENABLE_TRACING 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// tracing buffer size (in bytes)
|
|
|
|
#ifndef MAX_TRACE_SIZE
|
2008-04-29 07:35:00 +00:00
|
|
|
# define MAX_TRACE_SIZE (20 * 1024 * 1024)
|
2008-01-19 17:24:34 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-04-30 08:03:53 +00:00
|
|
|
#if ENABLE_TRACING
|
|
|
|
|
2008-04-27 14:24:18 +00:00
|
|
|
// macros specifying the tracing level for individual components (0 is disabled)
|
|
|
|
|
2008-05-02 17:02:41 +00:00
|
|
|
#define AHCI_PORT_TRACING 0
|
2008-09-01 19:44:27 +00:00
|
|
|
#define ATA_TRACING 0
|
|
|
|
#define ATAPI_TRACING 0
|
2008-04-29 16:15:35 +00:00
|
|
|
#define BFS_TRACING 0
|
2008-07-20 12:37:56 +00:00
|
|
|
#define BLOCK_CACHE_BLOCK_TRACING 0
|
2008-04-27 14:24:18 +00:00
|
|
|
#define BLOCK_CACHE_TRANSACTION_TRACING 0
|
2008-04-29 16:15:35 +00:00
|
|
|
#define BMESSAGE_TRACING 0
|
2008-04-27 14:24:18 +00:00
|
|
|
#define KERNEL_HEAP_TRACING 0
|
2008-05-17 18:59:19 +00:00
|
|
|
#define KTRACE_PRINTF_STACK_TRACE 0 /* stack trace depth */
|
2008-04-27 14:24:18 +00:00
|
|
|
#define PAGE_ALLOCATION_TRACING 0
|
2008-10-11 15:17:12 +00:00
|
|
|
#define PAGE_DAEMON_TRACING 0
|
|
|
|
#define PAGE_WRITER_TRACING 0
|
2008-04-27 14:24:18 +00:00
|
|
|
#define PARANOIA_TRACING 0
|
2008-04-29 20:47:15 +00:00
|
|
|
#define PARANOIA_TRACING_STACK_TRACE 0 /* stack trace depth */
|
2008-04-27 14:24:18 +00:00
|
|
|
#define OBJECT_CACHE_TRACING 0
|
2008-04-27 16:34:23 +00:00
|
|
|
#define NET_BUFFER_TRACING 0
|
2008-04-29 20:47:15 +00:00
|
|
|
#define NET_BUFFER_TRACING_STACK_TRACE 0 /* stack trace depth */
|
2008-04-27 14:24:18 +00:00
|
|
|
#define RUNTIME_LOADER_TRACING 0
|
2008-08-11 10:20:16 +00:00
|
|
|
#define SCHEDULER_TRACING 0
|
2008-09-03 15:11:41 +00:00
|
|
|
#define SCHEDULING_ANALYSIS_TRACING 0
|
2008-04-27 14:24:18 +00:00
|
|
|
#define SIGNAL_TRACING 0
|
2008-08-23 14:54:28 +00:00
|
|
|
#define SWAP_TRACING 0
|
2008-04-27 14:24:18 +00:00
|
|
|
#define SYSCALL_TRACING 0
|
|
|
|
#define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT 1
|
2008-04-29 07:35:00 +00:00
|
|
|
#define TCP_TRACING 0
|
2008-04-27 14:24:18 +00:00
|
|
|
#define TEAM_TRACING 0
|
|
|
|
#define USER_MALLOC_TRACING 0
|
2008-08-03 01:48:10 +00:00
|
|
|
#define VFS_PAGES_IO_TRACING 0
|
2008-05-29 22:09:51 +00:00
|
|
|
#define VM_CACHE_TRACING 0
|
2008-04-30 16:14:42 +00:00
|
|
|
#define WAIT_FOR_OBJECTS_TRACING 0
|
2008-04-27 14:24:18 +00:00
|
|
|
|
2008-04-30 08:03:53 +00:00
|
|
|
#endif // ENABLE_TRACING
|
|
|
|
|
2008-01-19 17:24:34 +00:00
|
|
|
#endif // KERNEL_TRACING_CONFIG_H
|