From patchwork Tue Oct 18 09:41:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Clark X-Patchwork-Id: 270 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1865848wrs; Tue, 18 Oct 2022 02:54:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4roFtp42dHRxP8boJYNL6E7qT9lEYiwPoel76BK/izmRKFCMTDipa+9ifhvKNcBKE+uc5M X-Received: by 2002:a05:6a00:450d:b0:562:51ad:7cdf with SMTP id cw13-20020a056a00450d00b0056251ad7cdfmr2362479pfb.54.1666086864162; Tue, 18 Oct 2022 02:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666086864; cv=none; d=google.com; s=arc-20160816; b=LETS7cro+kvhF2bY7JcCc9HzclPEUbhab1Gixnmy+3tmR591Z/HBR0onRU3jFIV9Lb YCwwVMSoAoPsagW82vjZ8jT3KrZUUv4Q+9BSCZ1Om25NfzHjOHiJVo7X2Ly+2+OHuf7R WA7wGJoys1hnfeU2jIHh/uHImobqft3ogrdnM4JogqIVQKd8WnIeC6i4w6yWg9GHxrIi +ooNE+AQayKat+r+Nm+b4IvuycZScAb+Fp7TqI/d0Fk1ndVYQQXyPxp8yb03m98ME/sU 4o/OgrlQMdqU6VAB+5SqpJ+nWwh37sGPd8UbRlNHEqRUNX+q/iSI6bbKR/5NuoJ/TSHp aYVQ== 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=okJOEjbcQ4BzOBTcCiiGQMamqZL0y8SVXXof1gVuTJQ=; b=w11l5e3cm4ZOH2kfnqMV8sjKt5/Gd4RJVOM9tq1v5XDg5UAMniKEymOBnd6KApt7QV h4efTMDylT9QYBl5WxQTyJhMPfjiVyuI0MjfcenPVR6kdUUKRq8H7xwvveQ9T7grb6CL e2I2+SQBzDyaGsZb8qpB9LoLmuYfLIfNoRwzhHDDk/JXtazgn6Z0gYKOd/Ht1mnYRqxx QKjYyy69B8aA5LaD5nJy3ix5Sf/CCAkugHXaoFI1X5VcyP2eWB/sd/tpvHU4OVUmQ90M RP2oig65Bw7MweO5ykMCZ0oukmw/XB0ej10/VfcUQV2UahleN8SDtQwDfwKoI0IGhTLA QfBg== 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=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e23-20020a656897000000b00462566bfd9csi15143152pgt.813.2022.10.18.02.54.09; Tue, 18 Oct 2022 02:54: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=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbiJRJlz (ORCPT + 99 others); Tue, 18 Oct 2022 05:41:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbiJRJlw (ORCPT ); Tue, 18 Oct 2022 05:41:52 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0610DAE872; Tue, 18 Oct 2022 02:41:51 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B2D30113E; Tue, 18 Oct 2022 02:41:57 -0700 (PDT) Received: from e121896.Emea.Arm.com (e121896.Emea.Arm.com [10.32.36.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9EF903F7D8; Tue, 18 Oct 2022 02:41:48 -0700 (PDT) From: James Clark To: linux-perf-users@vger.kernel.org, acme@kernel.org, namhyung@kernel.org Cc: linux-kernel@vger.kernel.org, James Clark , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Ian Rogers Subject: [PATCH v2 0/2] perf: Fix "kernel lock contention analysis" test by not printing warnings in quiet mode Date: Tue, 18 Oct 2022 10:41:34 +0100 Message-Id: <20221018094137.783081-1-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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?1747018581739349915?= X-GMAIL-MSGID: =?utf-8?q?1747018699550305224?= This is V2, but the previous patch was titled 'perf: Fix "Track with sched_switch" test by not printing warnings in quiet mode' Changes since V1: * Add a commit to make the behavior consistent between tools and update the docs * Fix the incorrect test name in the commit message James Clark (2): perf: Fix "kernel lock contention analysis" test by not printing warnings in quiet mode perf: Make quiet mode consistent between tools tools/perf/Documentation/perf-annotate.txt | 2 +- tools/perf/Documentation/perf-diff.txt | 2 +- tools/perf/Documentation/perf-lock.txt | 2 +- tools/perf/Documentation/perf-probe.txt | 2 +- tools/perf/Documentation/perf-record.txt | 2 +- tools/perf/Documentation/perf-report.txt | 2 +- tools/perf/Documentation/perf-stat.txt | 4 ++-- tools/perf/bench/numa.c | 9 +++++---- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +- tools/perf/builtin-lock.c | 2 +- tools/perf/builtin-probe.c | 7 +++---- tools/perf/builtin-record.c | 2 +- tools/perf/builtin-report.c | 2 +- tools/perf/builtin-stat.c | 8 ++++---- tools/perf/ui/util.c | 5 +++++ tools/perf/util/stat.h | 1 - 17 files changed, 30 insertions(+), 26 deletions(-)