summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ring_buffer_benchmark.c
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2018-11-01 11:46:40 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-05-08 12:15:12 -0400
commit5c173bedb24dfcc8e412d3c3f111c504e4408dd5 (patch)
tree8b81532e38bc0fff642fd5398fc9ca81b6ab2b6b /kernel/trace/ring_buffer_benchmark.c
parent3dd1f7f24f8ceec00bbbc364c2ac3c893f0fdc4c (diff)
downloadblackbird-op-linux-5c173bedb24dfcc8e412d3c3f111c504e4408dd5.tar.gz
blackbird-op-linux-5c173bedb24dfcc8e412d3c3f111c504e4408dd5.zip
ring-buffer: Fix mispelling of Calculate
It's not "Caculate". Link: http://lkml.kernel.org/r/20181101154640.23162-1-tiny.windzz@gmail.com Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer_benchmark.c')
-rw-r--r--kernel/trace/ring_buffer_benchmark.c2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud