lkml.org 
[lkml]   [2021]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] tracing: Fix spelling mistake "aritmethic" -> "arithmetic"
On Mon,  8 Nov 2021 20:15:13 +0000
Colin Ian King <colin.i.king@googlemail.com> wrote:

> There is a spelling mistake in the tracing mini-HOWTO text. Fix it.

I'll apply this but it could be reverted if someone was using that line to
know if hist triggers are supported. The README file is user space ABI, so
changes need to be carefully done, even if it means keeping misspellings.

-- Steve

>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
> kernel/trace/trace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
> index f9139dc1262c..b8e8f1962189 100644
> --- a/kernel/trace/trace.c
> +++ b/kernel/trace/trace.c
> @@ -5623,7 +5623,7 @@ static const char readme_msg[] =
> "\t - a numeric literal: e.g. ms_per_sec=1000,\n"
> "\t - an arithmetic expression: e.g. time_secs=current_timestamp/1000\n"
> "\n"
> - "\t hist trigger aritmethic expressions support addition(+), subtraction(-),\n"
> + "\t hist trigger arithmetic expressions support addition(+), subtraction(-),\n"
> "\t multiplication(*) and division(/) operators. An operand can be either a\n"
> "\t variable reference, field or numeric literal.\n"
> "\n"

\
 
 \ /
  Last update: 2021-11-16 22:28    [W:0.034 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site