Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp817773lqb; Wed, 17 Apr 2024 11:32:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKkdfHFh+qOLucbEAg/lRXe3fTM5AIbjlDYsXeHPj0tN0qI1LluOvAd+BRttaQ3S0PaLcPNDKpIv9dt7gQK/yw4vUHC0kZorN0zRMoEg== X-Google-Smtp-Source: AGHT+IGAhmGaKh/wERyf4m97U+HE1betntRJqwnnc6KwZ1GzZh5HoPp6bAD4qcWX9Rn9oHUMXZmO X-Received: by 2002:a05:6830:6b90:b0:6ea:2d4a:ebd6 with SMTP id dd16-20020a0568306b9000b006ea2d4aebd6mr311511otb.10.1713378754636; Wed, 17 Apr 2024 11:32:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713378754; cv=pass; d=google.com; s=arc-20160816; b=iyPX3oNtqrcHkfkOU2fmgelXiVRBE6jpAN1xQsUEieui+QVMcuw7Qbj20D6SMvG+o4 FigXjgpVzqETnSaieIosfbhTASC+NjwBD//l1z2iECgpcmtMveMLcjy8xneeuT+mB1RM rkUSnJzHoiiHItxb4kQZ/YEnamtvEaXkwCOd9Z1KhOKzrQnN0qF/L4Esj7i3Z17845gH z6FdI4bU3/Y/OnpXNpYyvJ27IDHWaBefaHoDFG2Gs2U/tU/W+1dQl60NTsxHY9MTjrDK eW6fawCtiPtG6vhRDfYdCPEBDOCgle5g7Fn+G8DDgfgbcv1PlsZtf0TWd5dN7/uMlDGm BoIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:date:dkim-signature; bh=axvyU+8QUv8kTyKybxhFapUIJ4L0+ijLXSh2frDTobY=; fh=nMK8PfmkwdS1h9V+mTpgi5gqSdSt/q+nWYngDptMih0=; b=EZu5wrVI5X/X8/ALHLFVxQ99zPAzpaAGGJJmR057OgYWKwUnpsvva5ZAjkBoZKlHBQ dPq7Jdqf8iWYkQ/YfzqH42kybw7wKRysQB3+sqRMk1GoHyesTFibubZr+JpnWVnHN5zG IS9VBB9cJZoBIFPVIfsh58GMVV8xWCEq9t/LQQfmzo/LY3c9060WcqHCvpKK+IIDCm/E szLHsruDDm0GTleJ6qdqMhJTRIoIQr1QJGMnyHTqwnEJVWo1xC9pkDedGBcAxxbQSjVL unsQxNe9EIyMGvoNOW4Wuod3rhmDPJgu0WzcKecEPGvPiQwtDD66Vzrm1i+GDa/2nMOV Nx+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=PL5j5XyX; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-149055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149055-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s13-20020a05622a178d00b0043473e25c56si15925509qtk.200.2024.04.17.11.32.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 11:32:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=PL5j5XyX; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-149055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149055-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5D9E11C222FD for ; Wed, 17 Apr 2024 18:32:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18206E54C; Wed, 17 Apr 2024 18:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="PL5j5XyX" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00230849C for ; Wed, 17 Apr 2024 18:32:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713378749; cv=none; b=RI0QUbQx8caZIQ8EVZOn0AWDpR/xc2FEjEjHk4Q7zFXDZwCTnMlaiir83FQKEz37D5p0bv3bgVvmDLySgb1ucEB9h+WOGHg63lc/1Pnyq55XIXU1Cs2S+rx9/E2En/yWd0x0yijxxB39VAqo3LziEwsnjCLVWqgrCew4DWLqxmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713378749; c=relaxed/simple; bh=36hXQuEvO/yn4vEmJGlAB6y3mAmxuqgfg5ZGP25OSKY=; h=Date:Message-Id:Mime-Version:Subject:From:To:Content-Type; b=eQGJ5UBZczwuXKiP9a7wNF3c+SegNZu21inibsORed5TQk25FoV9rH6HfqZNuod9/i+xK/PUnAMvA+avi+z5qeeLufs8lueFcAVPT3v+y7aJo8WkruL2tGGmcWUpQm92xgfV1Q+ukHT5RdLKBgicpGlUnuNuObfb5+A4ViMQ7eg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=PL5j5XyX; arc=none smtp.client-ip=209.85.219.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dbe9e13775aso94406276.1 for ; Wed, 17 Apr 2024 11:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713378747; x=1713983547; darn=vger.kernel.org; h=to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=axvyU+8QUv8kTyKybxhFapUIJ4L0+ijLXSh2frDTobY=; b=PL5j5XyXFKlPqmL+yZIXmnGBiZesm6YGkMItEwjpm2wTgNQgWnuNrsxhDko2QI6CXE 9FESNgU9AxsvCvTPEP42UhL599BuI119svdMSS1i2asU3FtFC02Gi7wV/xUgw+nHJRk5 dr/UwHA1RINtMgGVNtn6pxQh/Tt4OUhmHDteoBPhbC8gzQcWoavW5i9kSq8oxD4u0dW4 1zjWurK2zOPsU4jtTFIIW6mAE3pT1HU4XMhmPPnPClJETseZxUdhOVjUp0tWlB+wlJem 0xumU6YO8WgT6t7sIvGsvfOP7Imk+3SDTOHuft57sjjpuzskqBWI9nIB3qqyhdVAO6LF eBQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713378747; x=1713983547; h=to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=axvyU+8QUv8kTyKybxhFapUIJ4L0+ijLXSh2frDTobY=; b=Lugs1i06/y+kLWZpBlG+RSFtuf/BEQ0QiNHVaWxJ0pPkOII2MgYgDBmIv6P8mY370D UNHS4Bs+0T7EXyIBRFNCe+888YNisKB6qolbV/ixQUTEPbCGlPJbOqfulNJ4L59i5Roe LBa//EgVFEWnIfxeZQj0/1MNFnbANs3rUeN4ureBi0T26cVRt4RaTLCHVVkz9kRxqn3p g2PhdWZQbkQXoqQyXNlEmO8jwaOYZLkjRtWay8Vgf660Z1Zarap7qpcbP6g23jRWSyY5 cxr0deGbWbtk1/M3CSHBOfA6Wds8jR1+eVDEaUL6fy6gZ2PwWLC7SKqVx+F+KwLU2YxV th6w== X-Forwarded-Encrypted: i=1; AJvYcCWSR1TEd2963LEkIfRRRYT2cp7MeXIhZRU+zepdoR5z4YyhSv5ac5Rp8GP9ObbNCWQhm9HqY8eop5rdBmD0VqnNK7jhN2p2iDm+5Re2 X-Gm-Message-State: AOJu0YwNB9/GdWntQKFOntg4hf2gSNGyQMfzlvUvxiQAzqBbM6xN4oWs Cw3OD0Wt4hb/DfxLLhiIj5Kh8EpUu0srhmeGyzWWQiaxgHgv4/WFYblbABkvQKpQeKhDjZ8qzwl gbscisA== X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:21e2:a91b:3cf5:c57b]) (user=irogers job=sendgmr) by 2002:a05:6902:2b09:b0:de1:2220:862b with SMTP id fi9-20020a0569022b0900b00de12220862bmr38875ybb.12.1713378747053; Wed, 17 Apr 2024 11:32:27 -0700 (PDT) Date: Wed, 17 Apr 2024 11:32:19 -0700 Message-Id: <20240417183219.1208493-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog Subject: [PATCH v1] perf test: Avoid hard coded metrics in stat std output test From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , Yicong Yang , Athira Rajeev , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hard coded metric names fail on ARM testing. Signed-off-by: Ian Rogers --- tools/perf/tests/shell/stat+std_output.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/shell/stat+std_output.sh b/tools/perf/tests/shell/stat+std_output.sh index cbf2894b2c84..845f83213855 100755 --- a/tools/perf/tests/shell/stat+std_output.sh +++ b/tools/perf/tests/shell/stat+std_output.sh @@ -13,7 +13,7 @@ stat_output=$(mktemp /tmp/__perf_test.stat_output.std.XXXXX) event_name=(cpu-clock task-clock context-switches cpu-migrations page-faults stalled-cycles-frontend stalled-cycles-backend cycles instructions branches branch-misses) event_metric=("CPUs utilized" "CPUs utilized" "/sec" "/sec" "/sec" "frontend cycles idle" "backend cycles idle" "GHz" "insn per cycle" "/sec" "of all branches") -skip_metric=("stalled cycles per insn" "tma_" "retiring" "frontend_bound" "bad_speculation" "backend_bound") +skip_metric=($(perf list --raw Default 2> /dev/null)) cleanup() { rm -f "${stat_output}" -- 2.44.0.683.g7961c838ac-goog