Skip to content

Commit

Permalink
tracing/tools: fix a couple of spelling mistakes
Browse files Browse the repository at this point in the history
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/[email protected]

Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Viktor Rosendahl <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
  • Loading branch information
Colin Ian King authored and rostedt committed Feb 25, 2021
1 parent d814567 commit c1d96fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/tracing/latency/latency-collector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit c1d96fa

Please sign in to comment.