aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/ring_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 2ad6bae95a3d..27cf834d8b4e 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -132,7 +132,7 @@ void ring_buffer_normalize_time_stamp(int cpu, u64 *ts)
132} 132}
133EXPORT_SYMBOL_GPL(ring_buffer_normalize_time_stamp); 133EXPORT_SYMBOL_GPL(ring_buffer_normalize_time_stamp);
134 134
135#define RB_EVNT_HDR_SIZE (sizeof(struct ring_buffer_event)) 135#define RB_EVNT_HDR_SIZE (offsetof(struct ring_buffer_event, array))
136#define RB_ALIGNMENT 4U 136#define RB_ALIGNMENT 4U
137#define RB_MAX_SMALL_DATA 28 137#define RB_MAX_SMALL_DATA 28
138 138