mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tracing: Fix spelling mistake "aritmethic" -> "arithmetic"
@ 2021-11-08 20:15 Colin Ian King
  2021-11-16 21:26 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2021-11-08 20:15 UTC (permalink / raw)
  To: Steven Rostedt, Ingo Molnar; +Cc: kernel-janitors, linux-kernel

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

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"
-- 
2.32.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tracing: Fix spelling mistake "aritmethic" -> "arithmetic"
  2021-11-08 20:15 [PATCH] tracing: Fix spelling mistake "aritmethic" -> "arithmetic" Colin Ian King
@ 2021-11-16 21:26 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2021-11-16 21:26 UTC (permalink / raw)
  To: Colin Ian King; +Cc: Ingo Molnar, kernel-janitors, linux-kernel

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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-16 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 20:15 [PATCH] tracing: Fix spelling mistake "aritmethic" -> "arithmetic" Colin Ian King
2021-11-16 21:26 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®