* [PATCH] perf trace: Fix typo in comments
@ 2022-08-07 8:46 shaomin Deng
2022-08-12 19:45 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: shaomin Deng @ 2022-08-07 8:46 UTC (permalink / raw)
To: peterz, mingo, acme, linux-perf-users, linux-kernel
Cc: mark.rutland, shaomin Deng
Delete repeated word "and" in comments.
Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com>
---
tools/perf/builtin-trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 7aefecb23a17..2f7b1111d8e9 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -2748,7 +2748,7 @@ static size_t trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel,
/*
* Suppress this argument if its value is zero and
- * and we don't have a string associated in an
+ * we don't have a string associated in an
* strarray for it.
*/
if (val == 0 &&
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] perf trace: Fix typo in comments
2022-08-07 8:46 [PATCH] perf trace: Fix typo in comments shaomin Deng
@ 2022-08-12 19:45 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-08-12 19:45 UTC (permalink / raw)
To: shaomin Deng; +Cc: peterz, mingo, linux-perf-users, linux-kernel, mark.rutland
Em Sun, Aug 07, 2022 at 04:46:29AM -0400, shaomin Deng escreveu:
> Delete repeated word "and" in comments.
Thanks, applied.
- Arnaldo
> Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com>
> ---
> tools/perf/builtin-trace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
> index 7aefecb23a17..2f7b1111d8e9 100644
> --- a/tools/perf/builtin-trace.c
> +++ b/tools/perf/builtin-trace.c
> @@ -2748,7 +2748,7 @@ static size_t trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel,
>
> /*
> * Suppress this argument if its value is zero and
> - * and we don't have a string associated in an
> + * we don't have a string associated in an
> * strarray for it.
> */
> if (val == 0 &&
> --
> 2.35.1
--
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-12 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 8:46 [PATCH] perf trace: Fix typo in comments shaomin Deng
2022-08-12 19:45 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).