[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181101154640.23162-1-tiny.windzz@gmail.com>
Date: Thu, 1 Nov 2018 11:46:40 -0400
From: Yangtao Li <tiny.windzz@...il.com>
To: rostedt@...dmis.org, mingo@...hat.com
Cc: linux-kernel@...r.kernel.org, Yangtao Li <tiny.windzz@...il.com>
Subject: [PATCH] ring-buffer: fix small typo
Signed-off-by: Yangtao Li <tiny.windzz@...il.com>
---
kernel/trace/ring_buffer_benchmark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/ring_buffer_benchmark.c b/kernel/trace/ring_buffer_benchmark.c
index ffba6789c0e2..0564f6db0561 100644
--- a/kernel/trace/ring_buffer_benchmark.c
+++ b/kernel/trace/ring_buffer_benchmark.c
@@ -362,7 +362,7 @@ static void ring_buffer_producer(void)
hit--; /* make it non zero */
}
- /* Caculate the average time in nanosecs */
+ /* Calculate the average time in nanosecs */
avg = NSEC_PER_MSEC / (hit + missed);
trace_printk("%ld ns per entry\n", avg);
}
--
2.17.0
Powered by blists - more mailing lists