perf: fix duplicated words in documentation and comments
PATCH 1/1 perf: fix duplicated words in documentation and comments
- "the the"
- "in in"
- "a a"
Signed-off-by Markus Heidelberg <[email protected]>
--- tools/perf/Documentation/perf-diff.txt | 2 +- tools/perf/builtin-script.c | 2 +- tools/perf/util/hwmon_pmu.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
tools/perf/Documentation/perf-diff.txt +1 -1
@@ -285,7 +285,7 @@ If specified the 'Weighted diff' column is displayed with value 'd' computed as: - period being the hist entry period value - - WEIGHT-A/WEIGHT-B being user supplied weights in the the '-c' option + - WEIGHT-A/WEIGHT-B being user supplied weights in the '-c' option behind ':' separator like '-c wdiff:1,2'. - WEIGHT-A being the weight of the data file - WEIGHT-B being the weight of the baseline data file
tools/perf/builtin-script.c +1 -1
@@ -223,7 +223,7 @@ enum { OUTPUT_TYPE_MAX }; -// We need to refactor the evsel->priv use in in 'perf script' to allow for +// We need to refactor the evsel->priv use in 'perf script' to allow for // using that area, that is being used only in some cases. #define OUTPUT_TYPE_UNSET -1
tools/perf/util/hwmon_pmu.h +1 -1
@@ -37,7 +37,7 @@ enum hwmon_type {/** * enum hwmon_item: * -* Similar to enum hwmon_type but describes the item part of a a sysfs filename. +* Similar to enum hwmon_type but describes the item part of a sysfs filename. * * This enum is exposed for testing. */
Signature · 1 line
2.43.0
Quoted 6 lines · Markus Heidelberg
- "the the"
- "in in"
- "a a"Signed-off-by Markus Heidelberg <[email protected]>
Reviewed-by Ian Rogers <[email protected]>
Thanks,
Ian
Quoted 48 lines
--- tools/perf/Documentation/perf-diff.txt | 2 +- tools/perf/builtin-script.c | 2 +- tools/perf/util/hwmon_pmu.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)tools/perf/Documentation/perf-diff.txt +1
-1@@ -285,7 +285,7 @@ If specified the 'Weighted diff' column is displayed with value 'd' computed as: - period being the hist entry period value - - WEIGHT-A/WEIGHT-B being user supplied weights in the the '-c' option + - WEIGHT-A/WEIGHT-B being user supplied weights in the '-c' option behind ':' separator like '-c wdiff:1,2'. - WEIGHT-A being the weight of the data file - WEIGHT-B being the weight of the baseline data filetools/perf/builtin-script.c +1
-1@@ -223,7 +223,7 @@ enum { OUTPUT_TYPE_MAX }; -// We need to refactor the evsel->priv use in in 'perf script' to allow for +// We need to refactor the evsel->priv use in 'perf script' to allow for // using that area, that is being used only in some cases. #define OUTPUT_TYPE_UNSET -1tools/perf/util/hwmon_pmu.h +1
-2@@ -37,7 +37,7 @@ enum hwmon_type {/** * enum hwmon_item: * -* Similar to enum hwmon_type but describes the item part of a a sysfs filename. +* Similar to enum hwmon_type but describes the item part of a sysfs filename. * * This enum is exposed for testing. */ --2.43.0
Quoted 9 lines · Ian Rogers
Quoted 6 lines · Markus Heidelberg
- "the the"
- "in in"
- "a a"Signed-off-by Markus Heidelberg <[email protected]>Reviewed-by Ian Rogers <[email protected]>
Thanks, applied to perf-tools-next,
- Arnaldo