From patchwork Tue Dec 20 03:56:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Jihong X-Patchwork-Id: 3134 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2759662wrn; Mon, 19 Dec 2022 20:00:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf4AnlguQ4nYxpBWdbRLDKUhXQQbFzTMnSAjsCqq8/ROPXfdD7gIyFhx3fsS1DSBvsQUsFuZ X-Received: by 2002:aa7:de94:0:b0:463:85e7:d6ef with SMTP id j20-20020aa7de94000000b0046385e7d6efmr35941495edv.15.1671508824507; Mon, 19 Dec 2022 20:00:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671508824; cv=none; d=google.com; s=arc-20160816; b=i/k7g9b3+8EuRlKWKy4o/30VBseHKyodaFSEyoWT6IVgBXyDrwLjCRDZM1AZQ70zjb g5ufpqfy6qbytjNDS4j0qenG6hY4lr0LMNTPjGVvHoCFK2POstY0wa1M/1lruHJRk5ti gublIeAEKyeNdwQsMcRmBFvJkizDTUkRZMR9xFGtUpXg8W4Tr5vucQ8JojI6fsW3fqy/ RJ1cBIl3r9fHdC9YuWEw0GYsJ7Wlt3fZzTxJnqKKdG43vfhhGED2ZrEuFzzRSqQQA6K/ m1MQF1myLL0EjQtDzNqDWejpPVVWFyqSX1whR21/u6L7auBcaFro1l3uMEzPBI+7KYiZ Qp3w== 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=w6JsRxP4BYoXNjc/VFNW4UGbeKeskzI2fOs6PB0jm3A=; b=svoHeZaxTGtQeLd2Fk+h0iGjbBD5QjOc/1I950nCmBewuw5+OQqT8Ps9CsBFLTQPs9 2Boia3Fde2Ljq2GR5zuUoLRnR3BnCy2fNwHmLP37GablSLa92j0Keefu/OT7F91+8Aqy ri1Uofbc7iILczFqt2jjs5QaUkcZxPNMMLB3Uz86pqYaBRy1Rhv6SNZoTT+aWiGbD4Ex Mtsy5Tt1oEIGNBrvbQvSji0weGpbmLxw6GUrYML4C8mNzdaws3DjMY3+kOrGS6jOR5FF bOMkcpLXahPtVDSnDUtVReNYnv5bnHnyinb6TuiaLhgb7kX5g9gqCNnjlLdFNZon4m83 1hYA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l16-20020a056402255000b004614acc0706si11875679edb.250.2022.12.19.20.00.00; Mon, 19 Dec 2022 20:00:24 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233007AbiLTD7y (ORCPT + 99 others); Mon, 19 Dec 2022 22:59:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbiLTD7w (ORCPT ); Mon, 19 Dec 2022 22:59:52 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6D8E6254; Mon, 19 Dec 2022 19:59:50 -0800 (PST) Received: from kwepemm600003.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NbjVR0jvCzRq81; Tue, 20 Dec 2022 11:58:39 +0800 (CST) 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.34; Tue, 20 Dec 2022 11:59:47 +0800 From: Yang Jihong To: , , , , , , , , , , , , , , , , CC: Subject: [PATCH 0/3] Fixes for debug variables Date: Tue, 20 Dec 2022 11:56:59 +0800 Message-ID: <20221220035702.188413-1-yangjihong1@huawei.com> X-Mailer: git-send-email 2.30.GIT MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752704036918795583?= X-GMAIL-MSGID: =?utf-8?q?1752704036918795583?= patch1 is a fix for debug_peo_args and redirect_to_stderr. patch2 is a fix for the verbose variable. patch3 is a correction for checking the quiet option. Yang Jihong (3): perf tools: Set debug_peo_args and redirect_to_stderr to correct values in perf_quiet_option perf tools: Fix usage of the verbose variable perf probe: Check -v and -q options in the right place tools/perf/builtin-lock.c | 6 +++--- tools/perf/builtin-probe.c | 17 +++++++++-------- tools/perf/builtin-record.c | 4 ++-- tools/perf/builtin-script.c | 2 +- tools/perf/builtin-stat.c | 4 ++-- tools/perf/dlfilters/dlfilter-test-api-v0.c | 2 +- tools/perf/tests/builtin-test.c | 2 +- tools/perf/tests/dlfilter-test.c | 2 +- tools/perf/util/bpf_lock_contention.c | 2 +- tools/perf/util/debug.c | 4 ++++ tools/perf/util/dlfilter.c | 2 +- 11 files changed, 26 insertions(+), 21 deletions(-)