Skip to content

Commit 87abb3b

Browse files
Wang Tianhongrostedt
authored andcommitted
tracing/trivial: Fix some typos in kernel/trace
Fix some typos in kernel/trace. Link: http://lkml.kernel.org/r/1343887320.2228.9.camel@louis-ThinkPad-T410 Signed-off-by: Wang Tianhong <wangthbj@linux.vnet.ibm.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 parent 92d8d4a commit 87abb3b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎kernel/trace/ring_buffer.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,7 +2816,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_record_enable);
28162816
* to the buffer after this will fail and return NULL.
28172817
*
28182818
* This is different than ring_buffer_record_disable() as
2819-
* it works like an on/off switch, where as the disable() verison
2819+
* it works like an on/off switch, where as the disable() version
28202820
* must be paired with a enable().
28212821
*/
28222822
void ring_buffer_record_off(struct ring_buffer *buffer)
@@ -2839,7 +2839,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_record_off);
28392839
* ring_buffer_record_off().
28402840
*
28412841
* This is different than ring_buffer_record_enable() as
2842-
* it works like an on/off switch, where as the enable() verison
2842+
* it works like an on/off switch, where as the enable() version
28432843
* must be paired with a disable().
28442844
*/
28452845
void ring_buffer_record_on(struct ring_buffer *buffer)

‎kernel/trace/trace.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,15 +426,15 @@ __setup("trace_buf_size=", set_buf_size);
426426

427427
static int __init set_tracing_thresh(char *str)
428428
{
429-
unsigned long threshhold;
429+
unsigned long threshold;
430430
int ret;
431431

432432
if (!str)
433433
return 0;
434-
ret = strict_strtoul(str, 0, &threshhold);
434+
ret = strict_strtoul(str, 0, &threshold);
435435
if (ret < 0)
436436
return 0;
437-
tracing_thresh = threshhold * 1000;
437+
tracing_thresh = threshold * 1000;
438438
return 1;
439439
}
440440
__setup("tracing_thresh=", set_tracing_thresh);

0 commit comments

Comments
 (0)