perf: Various spelling fixes
PATCH v2 1/1 perf: Various spelling fixes
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 <[email protected]>
--- tools/perf/Documentation/perf-bench.txt | 2 +- tools/perf/builtin-bench.c | 2 +- tools/perf/builtin-script.c | 2 +- tools/perf/util/evswitch.h | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-)
tools/perf/Documentation/perf-bench.txt +1 -1
@@ -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=::
tools/perf/builtin-bench.c +1 -1
@@ -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 () };
tools/perf/builtin-script.c +1 -1
@@ -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
tools/perf/util/evswitch.h +2 -2
@@ -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")
Signature · 1 line
2.39.0