[PATCH] perf script: Delete repeated word "from"

shaomin Deng posted 1 patch 3 years, 8 months ago
tools/perf/builtin-script.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] perf script: Delete repeated word "from"
Posted by shaomin Deng 3 years, 8 months ago
Delete the repeated word "from" in code.

Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com>
---
 tools/perf/builtin-script.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index 7cf21ab16f4f..ebe5fdecdb0c 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -3847,7 +3847,7 @@ int cmd_script(int argc, const char **argv)
 	OPT_CALLBACK_OPTARG(0, "xed", NULL, NULL, NULL,
 			"Run xed disassembler on output", parse_xed),
 	OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL,
-			"Decode calls from from itrace", parse_call_trace),
+			"Decode calls from itrace", parse_call_trace),
 	OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL,
 			"Decode calls and returns from itrace", parse_callret_trace),
 	OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]",
-- 
2.35.1
Re: [PATCH] perf script: Delete repeated word "from"
Posted by Arnaldo Carvalho de Melo 3 years, 8 months ago
Em Sun, Aug 07, 2022 at 04:06:42AM -0400, shaomin Deng escreveu:
> Delete the repeated word "from" in code.
 

Thanks, applied.

- Arnaldo

> Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com>
> ---
>  tools/perf/builtin-script.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
> index 7cf21ab16f4f..ebe5fdecdb0c 100644
> --- a/tools/perf/builtin-script.c
> +++ b/tools/perf/builtin-script.c
> @@ -3847,7 +3847,7 @@ int cmd_script(int argc, const char **argv)
>  	OPT_CALLBACK_OPTARG(0, "xed", NULL, NULL, NULL,
>  			"Run xed disassembler on output", parse_xed),
>  	OPT_CALLBACK_OPTARG(0, "call-trace", &itrace_synth_opts, NULL, NULL,
> -			"Decode calls from from itrace", parse_call_trace),
> +			"Decode calls from itrace", parse_call_trace),
>  	OPT_CALLBACK_OPTARG(0, "call-ret-trace", &itrace_synth_opts, NULL, NULL,
>  			"Decode calls and returns from itrace", parse_callret_trace),
>  	OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]",
> -- 
> 2.35.1

-- 

- Arnaldo