Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp3904958rwb; Sun, 7 Aug 2022 09:52:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR558pZdh8PKx6LMaewOJyudq4OQxJQBdXvw24qv+Pmtxp1xRK7h54AxvHRM27jB/rxjgwUN X-Received: by 2002:a17:906:730a:b0:72f:6ce7:8acd with SMTP id di10-20020a170906730a00b0072f6ce78acdmr11464996ejc.233.1659891119778; Sun, 07 Aug 2022 09:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659891119; cv=none; d=google.com; s=arc-20160816; b=w2pQdsht5iRm/PrD8JKbXSgl8Jq4NmoXsXKbpzhSLj6eGeku7g1G+J+8hOqf6BtFZu FeBWBwL+rtjQGVQo5AiqL85EjhuGuCN6hhcwpy3H2svyZ0QAxGHtNjtjAwueKTGkca2a J8IVmin3Tg9Q+QMTeXyB3u8H2TpJEVc4M1P4+tbicXWWSUCjMwsXEcold29+AIUusGWm auedoSPbiqsB4cM3+k9d9gkCUYUTYX5WygKrLqzsh5CUxHs6ope1gzLJke3EFnVb3/uH KmzOmAt8YwEav2wLnlhKvP+hSq7H8sTf5Io/TXaMiQo50hBW54jA1PluQgQhhBb+5JQu CCbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=+oay38hmxXYNYr3PRHV6zotwNu5pUfrvBUfvaaoOUpk=; b=gSllrw1MRyVQwccYsnilZ8UEaQXG3JekZRY5JaU8KDxN6DO0ojIHkzQIDMUI/5VnyP ouEdRxAYo7UW/PPaa2bnuuXfoIxUXoXKhYYpM/aSXQB9mJBmp3ry2144OLpydqZNx6Bt N7tnkmeeIGb8EaQCyg7E13hEji5DC64/gwwiFKNmJRe+kLlXvC0V47490Y1qAbyFQLjt Y8ZkWX9TmLYWjM2yB9lHZLXIYtha66GIeqSRP0xsDIg9V4MEDqXvky8emJXL4YDZDB+G j2d92B5h0EBYA/03XP2CcfXqnpjUPV0i4rdBVpF0gDbulic/s+m2SgDauC7pKLra0Z3N T4dw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a05640205cd00b0043ae1b74e96si4768473edx.381.2022.08.07.09.51.34; Sun, 07 Aug 2022 09:51:59 -0700 (PDT) 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 S234046AbiHGP4P (ORCPT + 99 others); Sun, 7 Aug 2022 11:56:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbiHGP4M (ORCPT ); Sun, 7 Aug 2022 11:56:12 -0400 Received: from bg5.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A274A64F7; Sun, 7 Aug 2022 08:56:09 -0700 (PDT) X-QQ-mid: bizesmtp86t1659887760t21is6qe Received: from localhost.localdomain ( [182.148.15.41]) by bizesmtp.qq.com (ESMTP) with id ; Sun, 07 Aug 2022 23:55:50 +0800 (CST) X-QQ-SSF: 0100000000200040B000B00A0000000 X-QQ-FEAT: 8eavv92r+Yk86VBS8z+mamh7NMEuMvA6ldeTh4eDuX8TkXKUdq+Xsv0/DRfgz jeL1o0TI1Hp7NmkgYxOK9xcKkskwF0KGZypLwvB9bTBuHrbv9VwiH40EzqkYhQgolm1lSmj 4DiiSU7/1L4U06nweWfhdkx+u662T3AUI3KUqmRYr3bkHj9fju6/Uc0CEDFSwhSTRsiOUUJ 9K2EDRFWBflULmEh3JlYvbCbK9d1+rdWzTTikS+0tTDP9CZ2p7191pBsXPmgEWlE16oXvmV TgT0zPwB7hXX0I3l1xOEZrFPzI7dCt1t9uWHIkDn/bi2VBCLnDPF+SfHFbXU60aQ1FzwBDv GR2pLIRB85/Uett3wK8Fu/ys/vjwyt/2eDcvaY+Bo7ExokuRhMKd1mjXzLbOA== X-QQ-GoodBg: 0 From: shaomin Deng To: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Cc: mark.rutland@arm.com, shaomin Deng Subject: [PATCH] perf tools: Fix typo in comments Date: Sun, 7 Aug 2022 11:55:49 -0400 Message-Id: <20220807155549.30953-1-dengshaomin@cdjrlc.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Delete the repeated word "to" in comments. Signed-off-by: shaomin Deng --- tools/perf/util/events_stats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/events_stats.h b/tools/perf/util/events_stats.h index 1b0006092265..040ab9d0a803 100644 --- a/tools/perf/util/events_stats.h +++ b/tools/perf/util/events_stats.h @@ -22,7 +22,7 @@ * * The total_period is needed because by default auto-freq is used, so * multiplying nr_events[PERF_EVENT_SAMPLE] by a frequency isn't possible to get - * the total number of low level events, it is necessary to to sum all struct + * the total number of low level events, it is necessary to sum all struct * perf_record_sample.period and stash the result in total_period. */ struct events_stats { -- 2.35.1