tracing: Fix spelling mistake "aritmethic" -> "arithmetic"
Subsystems (2)
PATCH 1/1 tracing: Fix spelling mistake "aritmethic" -> "arithmetic"
There is a spelling mistake in the tracing mini-HOWTO text. Fix it.
Signed-off-by Colin Ian King <[email protected]>
--- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace.c +1 -1
@@ -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
Steven Rostedt
maintainerQuoted 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
Signed-off-by Colin Ian King <[email protected]>--- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/trace/trace.c +1
-1@@ -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"