Commit c1d96fa6 authored by Colin Ian King's avatar Colin Ian King Committed by Steven Rostedt (VMware)

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.deSigned-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarViktor Rosendahl <Viktor.Rosendahl@bmw.de>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent d8145679
...@@ -1650,7 +1650,7 @@ static void start_printthread(void) ...@@ -1650,7 +1650,7 @@ static void start_printthread(void)
if (ufd < 0 || if (ufd < 0 ||
read(ufd, seed, sizeof(*seed)) != sizeof(*seed)) { read(ufd, seed, sizeof(*seed)) != sizeof(*seed)) {
printf( 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); DEV_URANDOM);
fflush(stdout); fflush(stdout);
*seed = i; *seed = i;
...@@ -1711,8 +1711,8 @@ static void show_usage(void) ...@@ -1711,8 +1711,8 @@ static void show_usage(void)
"\t\t\tbeginning, end, and backtrace.\n\n" "\t\t\tbeginning, end, and backtrace.\n\n"
"-g, --graph\t\tEnable the display-graph option in trace_option. This\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\toption causes ftrace to show the graph of how functions\n"
"\t\t\tfunctions are calling other functions.\n\n" "\t\t\tare calling other functions.\n\n"
"-c, --policy POL\tRun the program with scheduling policy POL. POL can be\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" "\t\t\tother, batch, idle, rr or fifo. The default is rr. When\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment