Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp34309rwn; Wed, 7 Sep 2022 19:24:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4aXzgZMOD+w4qcm2DXAdHatKAYxhIyk3xf5C7huHdoVq5lVNfl7GlK5yg9vtue3A2J2nkv X-Received: by 2002:a17:906:9b90:b0:738:60f9:c7d6 with SMTP id dd16-20020a1709069b9000b0073860f9c7d6mr4382559ejc.198.1662603864537; Wed, 07 Sep 2022 19:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662603864; cv=none; d=google.com; s=arc-20160816; b=bRR66ck5vqeLLkQXuQt8AR+bkb+4Idvj9+VFfD2+1Mm4pn04nD9j7tJyDyl9wDJFQs urugmz3r7HdLTMfVVjplbkDw6lsj9UJiHKd3Fs93Z+nREh0iFwx1zXsTxzucKO9m8vFh 8eWJ7GMUhlzG2azYUxO50CqP8+upINjDYKC+al11SLFGiu6Ar8AOE6f1UAEZ4edaa4ov C8wvoKdQXGDUardyy2B++ef70W6qqLpqqEqT7PyUjhrQCE1xyRiI0DSh6LG6fOrkXqFl okys8aJ21Blk0Fj7yDVdTF8OKxrHHQTYdsdiDU8q0yBX2z7vZBUeXq0A5Jk5FyFuSL2Q 36vw== 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:cc:to:from; bh=o6RxRwYtXSgxwIVIFY/CLSWQXrHGUbVxR+hdASMUQFE=; b=m4WmyVRROb2E1mPN/mpuV9wmbJVZ/NqMVo/NsBD2G1zooHfD95cFw2/gILj1jKDUs9 SMCOQa2u5xjfzBAcm11SYkcIxXnmaaRKefo7l6oD9KRvJWPMIQ4vhrHOPVKhUTkrMHxH SspfO4D5JRrOVzixwb2/DR0ipoVp6WPtX20kDckLwvUVZX7O55osGSlAGUR1XfUIwB9r LjkFfhcdmY6WualKNAnIigEYrEM9CIq5cjMF7gNNzcfv+1lGHI9e+atjasHG6OhvOz0E btUXy1BPDXBJmukDOQM6Iif8E3Mwo0xW1qQdLEcwz8s0YlGh82I8ZHzrdDtwjD3LY7+i 8RiQ== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb38-20020a170907162600b00771396445b2si1202332ejc.194.2022.09.07.19.24.00; Wed, 07 Sep 2022 19:24:24 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229698AbiIHBw0 (ORCPT + 99 others); Wed, 7 Sep 2022 21:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbiIHBwZ (ORCPT ); Wed, 7 Sep 2022 21:52:25 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D43FA99279; Wed, 7 Sep 2022 18:52:22 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MNMWG21cHznV2h; Thu, 8 Sep 2022 09:49:46 +0800 (CST) Received: from kwepemm600003.china.huawei.com (7.193.23.202) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 8 Sep 2022 09:52:20 +0800 Received: from ubuntu1804.huawei.com (10.67.174.61) by kwepemm600003.china.huawei.com (7.193.23.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 8 Sep 2022 09:52:20 +0800 From: Yang Jihong To: , , , , , , , , CC: Subject: [PATCH] perf lock: Remove redundant word 'contention' in help message Date: Thu, 8 Sep 2022 09:48:54 +0800 Message-ID: <20220908014854.151203-1-yangjihong1@huawei.com> X-Mailer: git-send-email 2.30.GIT MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.61] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600003.china.huawei.com (7.193.23.202) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 Before: # perf lock -h Usage: perf lock [] {record|report|script|info|contention|contention} -D, --dump-raw-trace dump raw trace in ASCII -f, --force don't complain, do it -i, --input input file name -v, --verbose be more verbose (show symbol address, etc) --kallsyms kallsyms pathname --vmlinux vmlinux pathname After: # perf lock -h Usage: perf lock [] {record|report|script|info|contention} -D, --dump-raw-trace dump raw trace in ASCII -f, --force don't complain, do it -i, --input input file name -v, --verbose be more verbose (show symbol address, etc) --kallsyms kallsyms pathname --vmlinux vmlinux pathname Fixes: 528b9cab3b81 ("perf lock: Add 'contention' subcommand") Signed-off-by: Yang Jihong --- tools/perf/builtin-lock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index dd11d3471baf..ea40ae52cd2c 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c @@ -1874,8 +1874,7 @@ int cmd_lock(int argc, const char **argv) NULL }; const char *const lock_subcommands[] = { "record", "report", "script", - "info", "contention", - "contention", NULL }; + "info", "contention", NULL }; const char *lock_usage[] = { NULL, NULL -- 2.30.GIT