2023-09-18 03:38:57

by Charles Han

[permalink] [raw]
Subject: [PATCH] perf vendors events: Remove repeated word in comments

Remove the repeated word "of" in comments.

Signed-off-by: Charles Han <[email protected]>
---
tools/perf/pmu-events/arch/arm64/mapfile.csv | 2 +-
tools/perf/pmu-events/arch/nds32/mapfile.csv | 2 +-
tools/perf/pmu-events/arch/powerpc/mapfile.csv | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv
index 32674ddd2b63..5b58db5032c1 100644
--- a/tools/perf/pmu-events/arch/arm64/mapfile.csv
+++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv
@@ -4,7 +4,7 @@
# where
# MIDR Processor version
# Variant[23:20] and Revision [3:0] should be zero.
-# Version could be used to track version of of JSON file
+# Version could be used to track version of JSON file
# but currently unused.
# JSON/file/pathname is the path to JSON file, relative
# to tools/perf/pmu-events/arch/arm64/.
diff --git a/tools/perf/pmu-events/arch/nds32/mapfile.csv b/tools/perf/pmu-events/arch/nds32/mapfile.csv
index efb395f26883..c76e5fbdac23 100644
--- a/tools/perf/pmu-events/arch/nds32/mapfile.csv
+++ b/tools/perf/pmu-events/arch/nds32/mapfile.csv
@@ -4,7 +4,7 @@
# where
# MIDR Processor version
# Variant[23:20] and Revision [3:0] should be zero.
-# Version could be used to track version of of JSON file
+# Version could be used to track version of JSON file
# but currently unused.
# JSON/file/pathname is the path to JSON file, relative
# to tools/perf/pmu-events/arch/arm64/.
diff --git a/tools/perf/pmu-events/arch/powerpc/mapfile.csv b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
index 4abdfc3f9692..a534ff6db14b 100644
--- a/tools/perf/pmu-events/arch/powerpc/mapfile.csv
+++ b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
@@ -3,7 +3,7 @@
#
# where
# PVR Processor version
-# Version could be used to track version of of JSON file
+# Version could be used to track version of JSON file
# but currently unused.
# JSON/file/pathname is the path to JSON file, relative
# to tools/perf/pmu-events/arch/powerpc/.
--
2.31.1


2023-09-21 18:27:25

by Ian Rogers

[permalink] [raw]
Subject: Re: [PATCH] perf vendors events: Remove repeated word in comments

On Sun, Sep 17, 2023 at 8:36 PM Charles Han <[email protected]> wrote:
>
> Remove the repeated word "of" in comments.
>
> Signed-off-by: Charles Han <[email protected]>

Reviewed-by: Ian Rogers <[email protected]>

Thanks,
Ian

> ---
> tools/perf/pmu-events/arch/arm64/mapfile.csv | 2 +-
> tools/perf/pmu-events/arch/nds32/mapfile.csv | 2 +-
> tools/perf/pmu-events/arch/powerpc/mapfile.csv | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv
> index 32674ddd2b63..5b58db5032c1 100644
> --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv
> +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv
> @@ -4,7 +4,7 @@
> # where
> # MIDR Processor version
> # Variant[23:20] and Revision [3:0] should be zero.
> -# Version could be used to track version of of JSON file
> +# Version could be used to track version of JSON file
> # but currently unused.
> # JSON/file/pathname is the path to JSON file, relative
> # to tools/perf/pmu-events/arch/arm64/.
> diff --git a/tools/perf/pmu-events/arch/nds32/mapfile.csv b/tools/perf/pmu-events/arch/nds32/mapfile.csv
> index efb395f26883..c76e5fbdac23 100644
> --- a/tools/perf/pmu-events/arch/nds32/mapfile.csv
> +++ b/tools/perf/pmu-events/arch/nds32/mapfile.csv
> @@ -4,7 +4,7 @@
> # where
> # MIDR Processor version
> # Variant[23:20] and Revision [3:0] should be zero.
> -# Version could be used to track version of of JSON file
> +# Version could be used to track version of JSON file
> # but currently unused.
> # JSON/file/pathname is the path to JSON file, relative
> # to tools/perf/pmu-events/arch/arm64/.
> diff --git a/tools/perf/pmu-events/arch/powerpc/mapfile.csv b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> index 4abdfc3f9692..a534ff6db14b 100644
> --- a/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> +++ b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> @@ -3,7 +3,7 @@
> #
> # where
> # PVR Processor version
> -# Version could be used to track version of of JSON file
> +# Version could be used to track version of JSON file
> # but currently unused.
> # JSON/file/pathname is the path to JSON file, relative
> # to tools/perf/pmu-events/arch/powerpc/.
> --
> 2.31.1
>

2023-09-27 11:28:11

by Namhyung Kim

[permalink] [raw]
Subject: Re: [PATCH] perf vendors events: Remove repeated word in comments

On Wed, Sep 20, 2023 at 5:02 PM Ian Rogers <[email protected]> wrote:
>
> On Sun, Sep 17, 2023 at 8:36 PM Charles Han <[email protected]> wrote:
> >
> > Remove the repeated word "of" in comments.
> >
> > Signed-off-by: Charles Han <[email protected]>
>
> Reviewed-by: Ian Rogers <[email protected]>

Applied to perf-tools-next, thanks!