Skip to contentSkip to conversation

tracing/tools: fix a couple of spelling mistakes

PATCH In review Colin King 2 participants 2 messages Feb 16, 2021 Kernel janitors

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH v3 1/1 tracing/tools: fix a couple of spelling mistakes

From: Colin Ian King <[email protected]>

There is a spelling mistake in the -g help option, I believe it should be "graph". There is also a spelling mistake in a warning message. Fix both mistakes.

---

V2: Also fix "nummer" spelling mistake.
V3: re-format text, as suggested by Viktor

---
 tools/tracing/latency/latency-collector.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/tracing/latency/latency-collector.c +3 -3
index 57b20802e71b..b69de9263ee6 100644
@@ -1650,7 +1650,7 @@ static void start_printthread(void)
 		if (ufd <  0 ||
 		    read(ufd, seed, sizeof(*seed)) != sizeof(*seed)) {
 			printf(
-"Warning! Using trivial random nummer seed, since %s not available\n",
+"Warning! Using trivial random number seed, since %s not available\n",
 			DEV_URANDOM);
 			fflush(stdout);
 			*seed = i;
@@ -1711,8 +1711,8 @@ static void show_usage(void)
 "\t\t\tbeginning, end, and backtrace.\n\n"
 
 "-g, --graph\t\tEnable the display-graph option in trace_option. This\n"
-"\t\t\toption causes ftrace to show the functionph of how\n"
-"\t\t\tfunctions are calling other functions.\n\n"
+"\t\t\toption causes ftrace to show the graph of how functions\n"
+"\t\t\tare calling other functions.\n\n"
 
 "-c, --policy POL\tRun the program with scheduling policy POL. POL can be\n"
 "\t\t\tother, batch, idle, rr or fifo. The default is rr. When\n"
Signature · 1 line
2.30.0
#1 lore raw

This looks good to me.

best regards,

Viktor

Quoted 46 lines · Colin King

EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments. EXTERNER Absender - Bitte VORSICHT beim Öffnen von Links und Anhängen.
------------------------------------------------------------------------------
------------

From: Colin Ian King <[email protected]>

There is a spelling mistake in the -g help option, I believe it should be "graph". There is also a spelling mistake in a warning message. Fix both mistakes.

---

V2: Also fix "nummer" spelling mistake.
V3: re-format text, as suggested by Viktor

---
 tools/tracing/latency/latency-collector.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/tracing/latency/latency-collector.c +3 -3
index 57b20802e71b..b69de9263ee6 100644
@@ -1650,7 +1650,7 @@ static void start_printthread(void)
 		if (ufd <  0 ||
 		    read(ufd, seed, sizeof(*seed)) != sizeof(*seed)) {
 			printf(
-"Warning! Using trivial random nummer seed, since %s not available\n",
+"Warning! Using trivial random number seed, since %s not available\n",
 			DEV_URANDOM);
 			fflush(stdout);
 			*seed = i;
@@ -1711,8 +1711,8 @@ static void show_usage(void)
 "\t\t\tbeginning, end, and backtrace.\n\n"
 
 "-g, --graph\t\tEnable the display-graph option in trace_option. This\n"
-"\t\t\toption causes ftrace to show the functionph of how\n"
-"\t\t\tfunctions are calling other functions.\n\n"
+"\t\t\toption causes ftrace to show the graph of how functions\n"
+"\t\t\tare calling other functions.\n\n"
 
 "-c, --policy POL\tRun the program with scheduling policy POL. POL can be\n"
 "\t\t\tother, batch, idle, rr or fifo. The default is rr. When\n"