Skip to content

Commit c1d96fa

Browse files
Colin Ian Kingrostedt
authored andcommitted
tracing/tools: fix a couple of spelling mistakes
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. Link: https://lkml.kernel.org/r/20210225165248.22050-2-Viktor.Rosendahl@bmw.de Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent d814567 commit c1d96fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/tracing/latency/latency-collector.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,7 @@ static void start_printthread(void)
16501650
if (ufd < 0 ||
16511651
read(ufd, seed, sizeof(*seed)) != sizeof(*seed)) {
16521652
printf(
1653-
"Warning! Using trivial random nummer seed, since %s not available\n",
1653+
"Warning! Using trivial random number seed, since %s not available\n",
16541654
DEV_URANDOM);
16551655
fflush(stdout);
16561656
*seed = i;
@@ -1711,8 +1711,8 @@ static void show_usage(void)
17111711
"\t\t\tbeginning, end, and backtrace.\n\n"
17121712

17131713
"-g, --graph\t\tEnable the display-graph option in trace_option. This\n"
1714-
"\t\t\toption causes ftrace to show the functionph of how\n"
1715-
"\t\t\tfunctions are calling other functions.\n\n"
1714+
"\t\t\toption causes ftrace to show the graph of how functions\n"
1715+
"\t\t\tare calling other functions.\n\n"
17161716

17171717
"-c, --policy POL\tRun the program with scheduling policy POL. POL can be\n"
17181718
"\t\t\tother, batch, idle, rr or fifo. The default is rr. When\n"

0 commit comments

Comments
 (0)