2008-01-19 20:24:34 +03: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-02-01 15:35:00 +03:00
|
|
|
# define MAX_TRACE_SIZE (1024 * 1024)
|
2008-01-19 20:24:34 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// macros that enable tracing for individual components
|
|
|
|
|
2008-02-07 22:22:39 +03:00
|
|
|
//#define BMESSAGE_TRACING
|
2008-01-19 20:24:34 +03:00
|
|
|
//#define BLOCK_CACHE_TRANSACTION_TRACING
|
2008-02-12 23:20:35 +03:00
|
|
|
//#define KERNEL_HEAP_TRACING
|
2008-03-28 02:13:01 +03:00
|
|
|
//#define PAGE_ALLOCATION_TRACING
|
2008-02-07 22:22:39 +03:00
|
|
|
//#define RUNTIME_LOADER_TRACING
|
2008-01-19 20:24:34 +03:00
|
|
|
//#define SIGNAL_TRACING
|
|
|
|
//#define SYSCALL_TRACING
|
2008-03-15 00:58:17 +03:00
|
|
|
//#define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT
|
2008-01-19 20:24:34 +03:00
|
|
|
//#define TEAM_TRACING
|
2008-03-11 04:35:30 +03:00
|
|
|
//#define USER_MALLOC_TRACING
|
2008-01-19 20:24:34 +03:00
|
|
|
|
|
|
|
#endif // KERNEL_TRACING_CONFIG_H
|