diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 648433d18ccb..42f65d0097f0 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -124,6 +124,10 @@ struct trace_entry { | |||
124 | }; | 124 | }; |
125 | 125 | ||
126 | #define TRACE_ENTRY_SIZE sizeof(struct trace_entry) | 126 | #define TRACE_ENTRY_SIZE sizeof(struct trace_entry) |
127 | #define TRACE_BUF_SIZE 1024 | ||
128 | #define TRACE_PRINT_BUF_SIZE \ | ||
129 | (sizeof(struct trace_field) - offsetof(struct trace_field, print.buf)) | ||
130 | #define TRACE_CONT_BUF_SIZE sizeof(struct trace_field) | ||
127 | 131 | ||
128 | /* | 132 | /* |
129 | * The CPU trace array - it consists of thousands of trace entries | 133 | * The CPU trace array - it consists of thousands of trace entries |