diff options
-rw-r--r-- | kernel/trace/ring_buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 890020e28a35..7839280ffcd8 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -2166,6 +2166,9 @@ rb_reset_cpu(struct ring_buffer_per_cpu *cpu_buffer) | |||
2166 | 2166 | ||
2167 | cpu_buffer->overrun = 0; | 2167 | cpu_buffer->overrun = 0; |
2168 | cpu_buffer->entries = 0; | 2168 | cpu_buffer->entries = 0; |
2169 | |||
2170 | cpu_buffer->write_stamp = 0; | ||
2171 | cpu_buffer->read_stamp = 0; | ||
2169 | } | 2172 | } |
2170 | 2173 | ||
2171 | /** | 2174 | /** |