Skip to contentSkip to conversation

tracing: Fix spelling mistake "aritmethic" -> "arithmetic"

PATCH In review Colin Ian King 2 participants 2 messages Nov 8, 2021 – Nov 16, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tracing: Fix spelling mistake "aritmethic" -> "arithmetic"

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

---
 kernel/trace/trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace.c +1 -1
index f9139dc1262c..b8e8f1962189 100644
@@ -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"
Signature · 1 line
2.32.0
maintainer
#1 lore raw
Quoted 1 line · On Mon, 8 Nov 2021 20:15:13 +0000 Colin Ian King…

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

Quoted 19 lines
---
 kernel/trace/trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace.c +1 -1
index f9139dc1262c..b8e8f1962189 100644
@@ -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"