Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3972437pxb; Tue, 25 Jan 2022 00:20:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJySFbzobnMIwEYAiW4K3S9W0JDl3SBuqZVns8QCoDuGxKIOmGCD/6zz0nZPZC0p/3p1rs3m X-Received: by 2002:a17:90b:3ec5:: with SMTP id rm5mr551478pjb.14.1643098810396; Tue, 25 Jan 2022 00:20:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643098810; cv=none; d=google.com; s=arc-20160816; b=vnl9WA9vdsy0su3/kzPl9RsuJ3FZrhPiatAkLP5lgc6BvtwoQwmMGY+8nbm5VKJWVx A9B2zCpJDWSRSN83sVQYDH1ZczE2jb+DYX7e3nS/O5R38wIown+TNOdFPosT9lWyz6Ys raVmr+3V8rNTuIKDPHQbH+Wj3T51vMVi1zjKFfj5ETmR/PInnV6nR3Tsyztzl2gM+oQ1 NjWW2AZyW02QF+yFnZFziqM8WNGLHCTXOCzyZJOXNB88IUf1dErdZx7UblPCj8kg6uf0 FzJOIVWS1D7BtA5EZZbK8GtGvmqFip95slWT19OKLstKjOLKiayvj2/LvHu8xiROdJR3 B5wQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OCY5EUJ0a6cNM0aF17caHWQwL3jBrh68FSaLNEVaJjU=; b=YbLkwwCHubbiOa19Tio4b/XzjRQisrhXnn3clVeiVRLBttu7EWZ+Z578ifYExuonX8 9zosZTsm3HZO3y2p59lXR2jc9We6Dy1GgyGdw4qZbhP82c4WbZsEAJYp+1Nr1FTvIhVY Dn9B00lJUjcu0Macw/vHRPvonP8QNC1Ox2Zim4yNAobmxXixeiSWC40iTo461gIs0/ix EvJHBLYEO8hUDz+rLArJfG/azcDaiLp00uY98lEnsRNZlD88RkKV9AQyMWKbmn75iW9C NS2PYNSzHHoCrTFrwjABpA9uikbfAg/lZpvWVAQ4OBa6rWvUHIZ9Uu6kziJXRhXMSlK1 9VEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="A8ucc/uq"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 135si6469929pgc.430.2022.01.25.00.19.58; Tue, 25 Jan 2022 00:20:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="A8ucc/uq"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3412761AbiAYAhn (ORCPT + 99 others); Mon, 24 Jan 2022 19:37:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2364547AbiAXXsb (ORCPT ); Mon, 24 Jan 2022 18:48:31 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6061FC07E320; Mon, 24 Jan 2022 13:43:29 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 27E91B8119E; Mon, 24 Jan 2022 21:43:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F60DC340E4; Mon, 24 Jan 2022 21:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060606; bh=d5sDqEx7QCzukP98QrCD6x9n7LBmYQ6aePoyYZryyVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A8ucc/uqrMxuzrKhFNiXJ5YsKSE6soMtwCNbR1o7ry2/+SUDMir+L8udNk7kvfY6v zrqdCyIE2mXRsAPJ0Lvs5Y4xcv7CfnznVCifqrCGjkw2He1qmUEUU1kUZwaFdJacJ4 EzHJAkOEpzf/zVvxYNSLCSBlXMUsRPwRI1V6hjrc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ian Rogers , Arnaldo Carvalho de Melo , Alexander Shishkin , Andi Kleen , Ingo Molnar , Jiri Olsa , Mark Rutland , Namhyung Kim , Peter Zijlstra , Stephane Eranian Subject: [PATCH 5.16 1003/1039] perf test: Enable system wide for metricgroups test Date: Mon, 24 Jan 2022 19:46:32 +0100 Message-Id: <20220124184159.008232832@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ian Rogers commit 0046686da0ef692a6381260c3aa44291187eafc9 upstream. Uncore events as group leaders fail in per-thread mode causing exit errors. Enable system-wide for metricgroup testing. This fixes the HPC metric group when tested on skylakex. Fixes: 4a87dea9e60fe100 ("perf test: Workload test of metric and metricgroups") Signed-off-by: Ian Rogers Tested-by: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: https://lore.kernel.org/r/20211223183948.3423989-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Greg Kroah-Hartman --- tools/perf/tests/shell/stat_all_metricgroups.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/perf/tests/shell/stat_all_metricgroups.sh +++ b/tools/perf/tests/shell/stat_all_metricgroups.sh @@ -6,7 +6,7 @@ set -e for m in $(perf list --raw-dump metricgroups); do echo "Testing $m" - perf stat -M "$m" true + perf stat -M "$m" -a true done exit 0