Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4024780rwi; Sat, 22 Oct 2022 04:04:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM42pXDEKTJPDjtiJmdYc7tlp56J54q0VFcXoh70I4k3WQsBmMCohuBKnkVAJHE5TvXIn3KO X-Received: by 2002:a05:6402:538a:b0:457:b602:d5a6 with SMTP id ew10-20020a056402538a00b00457b602d5a6mr21930247edb.371.1666436644170; Sat, 22 Oct 2022 04:04:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666436644; cv=none; d=google.com; s=arc-20160816; b=kUU0iI9W2aIPolcW6UrX87c8QWq33IrEetJVQ42Q8nK+1PwKoQ0VFNdEOX7rjTiXi6 Rtf0eRBp7IXmssFVRpI+sdOMJ+uOCr8JrqHAMowLfev158hXSYtc8gNRZ4YxkMBFDjMu 4gRKH8/mkEUDk6mG/YAiYRI9wHqJBjVU9RI9EU1Y4PWHkC+f3d/RnRT4u1DSMZ9/HV6S gaC94fwXnsPLOxMJ8IteNVW7MdA60mjvJtR0CcQsSk+nG7ts7llAUA3DWwOKdlq98fmB 0BBG4sYHzk7fc+R1o0QhuNKFu6q+KBTBBZNYsTVidUlDhHCz4xUmX2S7HYN7KlImnsJ4 ONyg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/jVG1II3/3CutpXeqBYsEMJDh1sFaFebeG6Ji4gAdtI=; b=DGvuJKHvLDbCn0xAJae3YHMGPVxKhjoGbOf4NE1SpTTov1g0W/3a96S9dhWaoav6jm TXk7sq8Vth00CybOIyFT5hYY0FaKz55dYUDx5BM9BZFoFUhvHk+dDPBcz8qKA1s2ypG8 2tdorGNdEFbMzyvtDCL5WjSqv5X04sUNtKqj6Vt9Z1YyiWjjozYLjT5HduLATzsGVeEX OdaBYGpL+AlOjB5CDdmSgFIToHSWR/kBQKLo9J/zpmjWdeIWYjs97xTQT7ZhXHBTGOkt qIbWX+f6zY1qpZFaN0CUENUf1QAa3skS3OJOEQ8gtQQgHNzH0joQqlhu7N4jyA2LmthJ QGOw== 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 wv2-20020a170907080200b0078dc3cb8b48si25262697ejb.625.2022.10.22.04.03.32; Sat, 22 Oct 2022 04:04:04 -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 S229973AbiJVKfZ (ORCPT + 99 others); Sat, 22 Oct 2022 06:35:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbiJVKeu (ORCPT ); Sat, 22 Oct 2022 06:34:50 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A56777390; Sat, 22 Oct 2022 02:51:32 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MvbcT3qgkzJn7v; Sat, 22 Oct 2022 17:28:41 +0800 (CST) Received: from kwepemm600003.china.huawei.com (7.193.23.202) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 22 Oct 2022 17:30:59 +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.31; Sat, 22 Oct 2022 17:30:58 +0800 From: Yang Jihong To: , , , , , , , , , , CC: Subject: [PATCH 2/3] perf daemon: Complete supported subcommand in help message Date: Sat, 22 Oct 2022 17:27:34 +0800 Message-ID: <20221022092735.114967-3-yangjihong1@huawei.com> X-Mailer: git-send-email 2.30.GIT In-Reply-To: <20221022092735.114967-1-yangjihong1@huawei.com> References: <20221022092735.114967-1-yangjihong1@huawei.com> 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 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 perf daemon supports start, signale, stop and ping subcommands, complete it Before: # perf daemon -h Usage: perf daemon start [] or: perf daemon [] -v, --verbose be more verbose -x, --field-separator[=] print counts with custom separator --base base directory --config config file path After: # perf daemon -h Usage: perf daemon {start|signal|stop|ping} [] or: perf daemon [] -v, --verbose be more verbose -x, --field-separator[=] print counts with custom separator --base base directory --config config file path Signed-off-by: Yang Jihong --- tools/perf/builtin-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-daemon.c b/tools/perf/builtin-daemon.c index b82bd902602a..48698e7fd987 100644 --- a/tools/perf/builtin-daemon.c +++ b/tools/perf/builtin-daemon.c @@ -100,7 +100,7 @@ static struct daemon __daemon = { }; static const char * const daemon_usage[] = { - "perf daemon start []", + "perf daemon {start|signal|stop|ping} []", "perf daemon []", NULL }; -- 2.30.GIT