From patchwork Sun Jan 22 12:20:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diederik de Haas X-Patchwork-Id: 46937 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1128008wrn; Sun, 22 Jan 2023 04:22:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXu3LcWe+mGlyknARYTpQP1HtEL6Q/E9nxwff3kvcqrijuWCeIM8lMRQNQUph+dQjsPbhIni X-Received: by 2002:a17:907:80cf:b0:7c1:962e:cf24 with SMTP id io15-20020a17090780cf00b007c1962ecf24mr23900906ejc.50.1674390125389; Sun, 22 Jan 2023 04:22:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674390125; cv=none; d=google.com; s=arc-20160816; b=yfeMWikGs/UvxAkw8pD86oprvRK4mZ7Bnx7pzRKajHPI7FgcqYROk92HPTBV2h2cpq NMz4GH7KcWF1u35DVQ6Krn0bTjViNthsuOyhE7JurKTxt39MlZuuC8TQovl3mgLkg2aX oslUvzz1tWBNXiAOGT6H50HAKoT7OToAMkmO5BXJqLR306byVNlW9ocCNN005av11MBu LCGIT0+G7IVUy5LGsDpeLyGc2un0wORWnPsWG3FY5/BTBXwsm/Lbbgz+lpvxRypUQey2 S6O97H3uou9SYigL/nfheQiOXOKrordBwsrxiWbg9ok6gB9tE2qaDDZOFEt0ip/8fJc3 neqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=sZ7gxLRxC1gaMjugJ9946kAW2UqD8iIaxVjX3d+e4gY=; b=VAygEpBeWzj1QURgy2+OfErBzbzwOCswkOfUpqE0R/SfXeKzZbEk1vyXkYp9GfTtcZ /Pl1DFXEG1cKUxPTTfPd4Hwm3BBi02P2N/AO9xKOsfiXTzOy+04m5bsyGwkH2DYcogSc eVMgziPpS6Qu+MxCFAloGDIoTrGQYNgcZK9/SQ+xpHBAEdEWVSz76krjdymM85G2As1f GCBAjKDGdz/p3BVGwrvsioHO6r6ZwJgDDlePye8Od/9KKI0AmEHKoutT4TdF6Ojp7Xwq M8OCEGeS41fJInmIoCS0Ecy8PQq55NAMHgE/sol/Ml0NEKPQjuOCL2flNmOPwDPCEFeE iSXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xb7-20020a170907070700b007877f3132d9si53750229ejb.438.2023.01.22.04.21.42; Sun, 22 Jan 2023 04:22:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbjAVMVI (ORCPT + 99 others); Sun, 22 Jan 2023 07:21:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjAVMVH (ORCPT ); Sun, 22 Jan 2023 07:21:07 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34FE24ECF; Sun, 22 Jan 2023 04:21:05 -0800 (PST) Received: (Authenticated sender: didi.debian@cknow.org) by mail.gandi.net (Postfix) with ESMTPSA id 81EA11BF205; Sun, 22 Jan 2023 12:21:00 +0000 (UTC) From: Diederik de Haas To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Diederik de Haas , linux-perf-users@vger.kernel.org (open list:PERFORMANCE EVENTS SUBSYSTEM), linux-kernel@vger.kernel.org (open list:PERFORMANCE EVENTS SUBSYSTEM) Subject: [PATCH v2] perf: Various spelling fixes Date: Sun, 22 Jan 2023 13:20:32 +0100 Message-Id: <20230122122034.48020-1-didi.debian@cknow.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755725299908113994?= X-GMAIL-MSGID: =?utf-8?q?1755725299908113994?= 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 --- 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(-) diff --git a/tools/perf/Documentation/perf-bench.txt b/tools/perf/Documentation/perf-bench.txt index a0529c7fa5ef..f04f0eaded98 100644 --- a/tools/perf/Documentation/perf-bench.txt +++ b/tools/perf/Documentation/perf-bench.txt @@ -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=:: diff --git a/tools/perf/builtin-bench.c b/tools/perf/builtin-bench.c index 334ab897aae3..bd4fd94a2ce0 100644 --- a/tools/perf/builtin-bench.c +++ b/tools/perf/builtin-bench.c @@ -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() }; diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 69394ac0a20d..8901acdd7f5b 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -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 diff --git a/tools/perf/util/evswitch.h b/tools/perf/util/evswitch.h index fd30460b6218..8ffdbe526d98 100644 --- a/tools/perf/util/evswitch.h +++ b/tools/perf/util/evswitch.h @@ -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")