Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 E85C534DB43 for ; Fri, 24 Oct 2025 17:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761328782; cv=none; b=FDZuuUhP/uDfacsPZLMj5Aq+lYp/nNss8XBH/DQUCpVNheqPeoA5pvMhVgVozJzD/Fp1E+VuSJIi3JDkmXRL7MO8ae0WRBOtU99wk2LvnqddaEe2mp70INoDFfM1yljIGvmEkrg8Gxg0CoMTrqLVx0397uhO/GYVCd4+STvVKwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761328782; c=relaxed/simple; bh=QELkFwUGTrOe0PQw9hkeWCvVtxDO/AoGHdfdb3+Umqc=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=KGdeyvyAng4C2H5usFV16Q7VeIuMR8/Dec3TokN3GMmIvd/9+9qSBtYcT46KPHUHmKu9lgDHpqkFEIu++iOVPP4U5tXbVCK86zc5iAqmL9c2lh7+PegDvSsAM7ZTgnH7kqtk2F1zDp8W8q413FTH1TfCfYg5Puio6iL2PZ8zkR8= 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=U23tK7Go; arc=none smtp.client-ip=209.85.128.202 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="U23tK7Go" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-785c67bec06so26724707b3.2 for ; Fri, 24 Oct 2025 10:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1761328780; x=1761933580; darn=vger.kernel.org; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=DvP50ZzYw5FWwn1UAQP69vx00l96i82LZhtWn6tukw0=; b=U23tK7GoUqMqBQbCORgqs06JHjNCHyc602oXvaetOcUfz7BFqA3kr/A0oUgdHMQpfL Z0L9dI1sZn1Ro+WfRt5tPzP76GLLuQLnjbPBt8UpEJEhr8Uf/Y7DHE4pB0baV4EglVL+ CllJa7DiYkoY5LOg63HMimEIg8JQ3pPn0FSmwN0XikfgdqJZokliWeBiu/ZH1yB4zK97 srZUSIEjJJNvhNcAm9bSyLtYWNL4zVMliVCWr4CT/51gzWgSoZjP0ub6wBuXgkdLKGEK QfO3yiRooymhAQhxAT26/bZoh8lrZtg5urS6BMCXWHd3hBN1Ug9D3Cy8sJjdPMqqwSNG tL1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761328780; x=1761933580; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DvP50ZzYw5FWwn1UAQP69vx00l96i82LZhtWn6tukw0=; b=mm3u12KF2Ej2fRUT4mk5/3HXSaor38ARDGae+nvB9M8J6CGVUzdLg1ZLjSZkGEPxeW V+uhwCBpaDNqYFje4isXA62kwf9ZMm7xURRC+5IBkxnTd34RUhPZWsv+CPCed4Wk7kDF mvPoicZuZVH8HiIdRN5dkezRSchr8ZHGz7gJf5Vnv03x8ZQWq0KmoD+BXLr/BCoVZAlq gbecf7Uo9Lp3N+2e/95IcrdQarxUZr3uztuwzMpRe+ngVy2jxkj/mQZtK5NE39HajV7L EYiwW6WCw9r3Qy94Qm/EAlI26eHj6+iFoKhfaJ4RuceP8A/CC8URpZ9RAGExMJdWJC2a 3J+A== X-Forwarded-Encrypted: i=1; AJvYcCVI0XDXe4sn+WXcwAVYnOe3GgxTIELKh4+3yOhTzILnHgAsI9k3FwTlE95JJKJzAKM710w1gkKF2T+BTwaa/Li5@vger.kernel.org X-Gm-Message-State: AOJu0Yzo2spP70c8fD3zGIrvGTdyihhnFY6q12b9yNljo9sU1ykLQ/hM DI6TXhYBoIsS1K96NimTubTQerWlIj1r2eCYhM94oMrFESxNENDSt8hyxlkiqUdchzyochUBs4Q 721DMD2wciA== X-Google-Smtp-Source: AGHT+IGEcXvK1E6p1QN6VWO2jx68qSIOrMuAi/BiYCBb8KUHtua6fwqyhsNuspKqCPBH8gZ6xgZ9uefHpOM2 X-Received: from ywbci17.prod.google.com ([2002:a05:690c:a91:b0:784:a970:1a17]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:690c:f93:b0:784:8ed9:e362 with SMTP id 00721157ae682-7848ed9e887mr172832517b3.40.1761328779968; Fri, 24 Oct 2025 10:59:39 -0700 (PDT) Date: Fri, 24 Oct 2025 10:58:53 -0700 In-Reply-To: <20251024175857.808401-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251024175857.808401-1-irogers@google.com> X-Mailer: git-send-email 2.51.1.821.gb6fe4d2222-goog Message-ID: <20251024175857.808401-19-irogers@google.com> Subject: [PATCH v1 18/22] perf test stat: Update std_output testing metric expectations From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , Xu Yang , Chun-Tse Shao , Thomas Richter , Sumanth Korikkar , Collin Funk , Thomas Falcon , Howard Chu , Dapeng Mi , Levi Yun , Yang Li , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Make the expectations match json metrics rather than the previous hard coded ones. Signed-off-by: Ian Rogers --- tools/perf/tests/shell/stat+std_output.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/tests/shell/stat+std_output.sh b/tools/perf/tests/shell/stat+std_output.sh index ec41f24299d9..9c4b92ecf448 100755 --- a/tools/perf/tests/shell/stat+std_output.sh +++ b/tools/perf/tests/shell/stat+std_output.sh @@ -12,8 +12,8 @@ set -e 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" "TopdownL1" "percent of slots") +event_metric=("CPUs_utilized" "CPUs_utilized" "cs/sec" "migrations/sec" "faults/sec" "frontend_cycles_idle" "backend_cycles_idle" "GHz" "insn_per_cycle" "/sec" "branch_miss_rate") +skip_metric=("tma_" "TopdownL1") cleanup() { rm -f "${stat_output}" -- 2.51.1.821.gb6fe4d2222-goog