ring-buffer: Fix two typos in comments
Subsystems (2)
PATCH 1/1 ring-buffer: Fix two typos in comments
s/inerrupting/interrupting/
s/beween/between/
Signed-off-by Qiujun Huang <[email protected]>
--- kernel/trace/ring_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/trace/ring_buffer.c +2 -2
@@ -3225,7 +3225,7 @@ __rb_reserve_next(struct ring_buffer_per_cpu *cpu_buffer,/* This did not interrupt any time update */ info->delta = info->ts - info->after; else -/* Just use full timestamp for inerrupting event */ +/* Just use full timestamp for interrupting event */ info->delta = info->ts;barrier ();if (unlikely (info->ts != save_before)) {
@@ -3261,7 +3261,7 @@ __rb_reserve_next(struct ring_buffer_per_cpu *cpu_buffer, info->ts = ts; }else {/* -* Interrupted beween C and E: +* Interrupted between C and E: * Lost the previous events time stamp. Just set the * delta to zero, and this will be the same time as * the event this event interrupted. And the events that
Signature · 1 line
2.17.1