perf: Various spelling fixes
authorDiederik de Haas <didi.debian@cknow.org>
Sun, 22 Jan 2023 12:20:32 +0000 (13:20 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Jan 2023 13:00:47 +0000 (10:00 -0300)
Fix various spelling errors as reported by Debian's lintian tool.

"amount of times" -> "number of times"
ocurrence -> occurrence
upto -> up to

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230122122034.48020-1-didi.debian@cknow.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-bench.txt
tools/perf/builtin-bench.c
tools/perf/builtin-script.c
tools/perf/util/evswitch.h

index a0529c7fa5ef988e4ab487e4665a478c2862f386..f04f0eaded985fc8ba4ea121d2667a5bf3250649 100644 (file)
@@ -18,7 +18,7 @@ COMMON OPTIONS
 --------------
 -r::
 --repeat=::
-Specify amount of times to repeat the run (default 10).
+Specify number of times to repeat the run (default 10).
 
 -f::
 --format=::
index 334ab897aae3b5208a2a255f2974601264213875..bd4fd94a2ce07364887132feb8998bdef575f922 100644 (file)
@@ -150,7 +150,7 @@ unsigned int bench_repeat = 10; /* default number of times to repeat the run */
 
 static const struct option bench_options[] = {
        OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting style"),
-       OPT_UINTEGER('r', "repeat",  &bench_repeat,   "Specify amount of times to repeat the run"),
+       OPT_UINTEGER('r', "repeat",  &bench_repeat,   "Specify number of times to repeat the run"),
        OPT_END()
 };
 
index 69394ac0a20dcc71a291a7aa340456ed58cac846..8901acdd7f5b7a93e6c6fe8690f4b5c5fc6939dc 100644 (file)
@@ -1301,7 +1301,7 @@ static int perf_sample__fprintf_brstackinsn(struct perf_sample *sample,
                goto out;
 
        /*
-        * Print final block upto sample
+        * Print final block up to sample
         *
         * Due to pipeline delays the LBRs might be missing a branch
         * or two, which can result in very large or negative blocks
index fd30460b621859ed82447fd7dab849b9d2db850d..8ffdbe526d98137d956010590abad076117629af 100644 (file)
@@ -22,9 +22,9 @@ bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel);
 
 #define OPTS_EVSWITCH(evswitch)                                                                  \
        OPT_STRING(0, "switch-on", &(evswitch)->on_name,                                  \
-                  "event", "Consider events after the ocurrence of this event"),         \
+                  "event", "Consider events after the occurrence of this event"),        \
        OPT_STRING(0, "switch-off", &(evswitch)->off_name,                                \
-                  "event", "Stop considering events after the ocurrence of this event"), \
+                  "event", "Stop considering events after the occurrence of this event"), \
        OPT_BOOLEAN(0, "show-on-off-events", &(evswitch)->show_on_off_events,             \
                    "Show the on/off switch events, used with --switch-on and --switch-off")