Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp238788rwn; Thu, 8 Sep 2022 00:19:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR67crfcL/fdF9ImNCGSMJ1lCpnGypqbC/qIO2kFYb05tUPaLDKzdEqfaTLp0ZDIgIrD3DLW X-Received: by 2002:a17:902:ef46:b0:168:bac3:2fd4 with SMTP id e6-20020a170902ef4600b00168bac32fd4mr7662159plx.132.1662621567863; Thu, 08 Sep 2022 00:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662621567; cv=none; d=google.com; s=arc-20160816; b=J9q8egiuK7jp39aIFCEbUNALmCTfGJNEXIJ6jAjg8OMiA63AEik4gDS68iGwbOqxiJ 1J8ucmpeDfjh7rhwCzQ2l0MAWt99sHxLs8EogIUUqPPheuvSIIsZMLkKKFvzVk6+6rL2 9hLVr67EnEGlwJoNTr0qgQSTPFF+0l/NoP32GPyLqFNgXoC25bhiGKXb5zDepCfeouvj ZbdpYvfQC5q/juZ0sSNxYvLVJV8WjryRGdG4+hD+VVUih7PHwPyefJ9FcGHtWdZcwb5n 0EACYgWXj/GlI2TA2j/ErgWuicJ4oWNZB+zrg2QugeFbNKtI38S+Obf83zMQC3+SDgmH NIhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=PL5sFutse4CuxEfTtpSy/YygDoAtPS3qoXDa8gawEm8=; b=aPNYZ9kNnG8daxYbsCrQgJPA9cR/dgVF4H78/nVwEJTKzRE0R25zi4t3cao7ouA1nH H6AMTk5ktN4xkurQACy/77EA1mpAK2zIB1wSL828uWQQG4/2pd7Ij/sYDCpZEl49xKK2 T0TwxMnyojZs7gfNrzGP6EsqcPq09sv4o6qIN4qrY2pA3jyAGXnfVzv8X+6Ekhj10/kZ BQrYgNZrOW1F0QRIBKmp/Bra+SoMNYoOsiCrzIOEsgEohM9KPZMPvj0hrMkrIn61hLEJ d30i/OZ+pWY4mnak6BHfvyuTgg7UqF3wjv6Hspza0HUwdwKFJxnSwWEvNy0iRfGGEYFt 2/0w== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ck8-20020a17090afe0800b00200a22064afsi572516pjb.41.2022.09.08.00.18.38; Thu, 08 Sep 2022 00:19:27 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230040AbiIHG7u (ORCPT + 99 others); Thu, 8 Sep 2022 02:59:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231201AbiIHG7p (ORCPT ); Thu, 8 Sep 2022 02:59:45 -0400 Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E3C6B1E2; Wed, 7 Sep 2022 23:59:39 -0700 (PDT) Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-1278a61bd57so23465634fac.7; Wed, 07 Sep 2022 23:59:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=PL5sFutse4CuxEfTtpSy/YygDoAtPS3qoXDa8gawEm8=; b=AJ5hPhg4/qg9iMKZvpW+NcKUjXT5JPU4T1ss3T+By2VzK3BP+PbWt4JwaP8Lmhkbb0 pqG4CedSfKj1SyXpCA2vFjsYvZIF0j5iCzKdULZJkZBQACvoKM+2YFKOpiKb0LoRw5ml AUPIJckFHSjANi/cPYL8GUfrLHUlveNx9KR1MDwxyOLuk3BOSM5rYMVZX4mM2CdnDZRk NYjO5zN2t07DHnlrDju9FDKwJJuwb6EKT6GImR1uIxQ0EtBOlXzQwkcr4HG3l8KC8oCj z2z30S0C/PvSH6xTOMeA+Bvc1/DeQHIxDUpiwNyJfcZ+toMuEOSBgahMg9YysOeq4iE3 fsRw== X-Gm-Message-State: ACgBeo3f3dBjQiFipb6MWEI53vYZACDEBB24RHyMg81wxX+cf9faO2nA kf8VTLwMIBHWNU8lOB6OGNpp9uL4UvW8SH3JD2Q= X-Received: by 2002:a05:6808:302a:b0:345:ec04:8f11 with SMTP id ay42-20020a056808302a00b00345ec048f11mr851693oib.5.1662620378888; Wed, 07 Sep 2022 23:59:38 -0700 (PDT) MIME-Version: 1.0 References: <20220908014854.151203-1-yangjihong1@huawei.com> In-Reply-To: <20220908014854.151203-1-yangjihong1@huawei.com> From: Namhyung Kim Date: Wed, 7 Sep 2022 23:59:27 -0700 Message-ID: Subject: Re: [PATCH] perf lock: Remove redundant word 'contention' in help message To: Yang Jihong Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-perf-users , linux-kernel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hello, On Wed, Sep 7, 2022 at 6:52 PM Yang Jihong wrote: > > 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 Acked-by: Namhyung Kim Thanks for the fix! Namhyung > --- > 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 >