2021-02-16 14:02:51

by Colin King

[permalink] [raw]
Subject: [PATCH][next] tracing/tools: fix spelling mistake "functionph" -> "graph"

From: Colin Ian King <[email protected]>

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

Signed-off-by: Colin Ian King <[email protected]>
---
tools/tracing/latency/latency-collector.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tracing/latency/latency-collector.c b/tools/tracing/latency/latency-collector.c
index 57b20802e71b..8d28234cd6fb 100644
--- a/tools/tracing/latency/latency-collector.c
+++ b/tools/tracing/latency/latency-collector.c
@@ -1711,7 +1711,7 @@ 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\toption causes ftrace to show the graph of how\n"
"\t\t\tfunctions are calling other functions.\n\n"

"-c, --policy POL\tRun the program with scheduling policy POL. POL can be\n"
--
2.30.0


2021-02-16 14:06:51

by Colin King

[permalink] [raw]
Subject: NACK: [PATCH][next] tracing/tools: fix spelling mistake "functionph" -> "graph"

On 16/02/2021 14:01, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in the -g help option, I believe
> it should be "graph". Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> tools/tracing/latency/latency-collector.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/tracing/latency/latency-collector.c b/tools/tracing/latency/latency-collector.c
> index 57b20802e71b..8d28234cd6fb 100644
> --- a/tools/tracing/latency/latency-collector.c
> +++ b/tools/tracing/latency/latency-collector.c
> @@ -1711,7 +1711,7 @@ 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\toption causes ftrace to show the graph of how\n"
> "\t\t\tfunctions are calling other functions.\n\n"
>
> "-c, --policy POL\tRun the program with scheduling policy POL. POL can be\n"
>

Found another spelling mistake, sending a V2 soon.