[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220822124243.34053-1-yuanjilin@cdjrlc.com>
Date: Mon, 22 Aug 2022 20:42:43 +0800
From: Jilin Yuan <yuanjilin@...rlc.com>
To: mathieu.poirier@...aro.org, suzuki.poulose@....com,
peterz@...radead.org, mingo@...hat.com
Cc: linux-arm-kernel@...ts.infradead.org, coresight@...ts.linaro.org,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
Jilin Yuan <yuanjilin@...rlc.com>
Subject: [PATCH] perf/util: fix repeated words in comments
Delete the redundant word 'the'.
Signed-off-by: Jilin Yuan <yuanjilin@...rlc.com>
---
tools/perf/util/cs-etm.c | 2 +-
tools/perf/util/probe-event.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c
index 8b95fb3c4d7b..16db965ac995 100644
--- a/tools/perf/util/cs-etm.c
+++ b/tools/perf/util/cs-etm.c
@@ -1451,7 +1451,7 @@ static int cs_etm__sample(struct cs_etm_queue *etmq,
* tidq->packet->instr_count represents the number of
* instructions in the current etm packet.
*
- * Period instructions (Pi) contains the the number of
+ * Period instructions (Pi) contains the number of
* instructions executed after the sample point(n) from the
* previous etm packet. This will always be less than
* etm->instructions_sample_period.
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index 062b5cbe67af..67c12d5303e7 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -1349,7 +1349,7 @@ int parse_line_range_desc(const char *arg, struct line_range *lr)
/*
* Adjust the number of lines here.
* If the number of lines == 1, the
- * the end of line should be equal to
+ * end of line should be equal to
* the start of line.
*/
lr->end--;
--
2.36.1
Powered by blists - more mailing lists