]> www.infradead.org Git - users/hch/misc.git/commitdiff
perf tools: Fix duplicated words in documentation and comments
authorMarkus Heidelberg <m.heidelberg@cab.de>
Thu, 25 Sep 2025 11:26:13 +0000 (13:26 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Oct 2025 12:44:02 +0000 (09:44 -0300)
- "the the"
- "in in"
- "a a"

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-diff.txt
tools/perf/builtin-script.c
tools/perf/util/hwmon_pmu.h

index f3067a4af294081dddae4101cf65b4301c5e48a5..58efab72d2e58e485e34eaeaf9cecfcd757555b7 100644 (file)
@@ -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
index d9fbdcf72f252926be726b673200d62090dd90fb..f731b6de7f232f6e9a80c7c8cf22a2549cf3410d 100644 (file)
@@ -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
 
index dc711b289ff566f0b73ab44b4c2d7c0afb5cff07..d1e403c8b70ba217570555f3bad70161fc098a62 100644 (file)
@@ -37,7 +37,7 @@ enum hwmon_type {
 /**
  * enum hwmon_item:
  *
- * Similar to enum hwmon_type but describes the item part of a sysfs filename.
+ * Similar to enum hwmon_type but describes the item part of a sysfs filename.
  *
  * This enum is exposed for testing.
  */