Re: [PATCH] tracing: Fix spelling mistake "aritmethic" -> "arithmetic"
From: Steven Rostedt
Date: Tue Nov 16 2021 - 16:26:58 EST
On Mon, 8 Nov 2021 20:15:13 +0000
Colin Ian King <colin.i.king@xxxxxxxxxxxxxx> 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@xxxxxxxxx>
> ---
> 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"