Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1383109rwd; Thu, 18 May 2023 11:14:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6EZeb9c40rgicrXavq+G4czi2YdvWgYRMOnJoKqDgrJYhCvuVhz5S8ddK3q9/zouI2lclX X-Received: by 2002:a17:90a:ea91:b0:253:4e40:de2c with SMTP id h17-20020a17090aea9100b002534e40de2cmr3606465pjz.44.1684433655948; Thu, 18 May 2023 11:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684433655; cv=none; d=google.com; s=arc-20160816; b=QpWxF4A3cRjNVsV3ZwyOpTpXQizAsJHL943BpYXEun4RM4tbQJqQODx12S0Xl5uUTu zSi8iKWTNOIwwojXS969N/ftACiFlLSW6/QTf9GKZGZMsJK7eh9z08CpyyQmOta2Th3T LpkjlNtsc2/TWVQVEcCjnbpNmk4tEQVREsol2JMlfb42OmWQMW+Y50f2mGeFBrP7y5rV ewMfpn7YSvnO01zFrJW/JewTsW+Bmt5x5COPkMWjQ2DRb4Sc8FvTK7gd4Lcta7KEGUy+ noRgCRXLs7bZ9Vj8kcupZ5J6OEiRkdMsSVcuyupF9FbWBKG3ey1cO4+Mn6YBePO6Kb6s 3Taw== 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:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=3RZ484p2SQ7TxSccE0/ZDJkbe9UYR5m17S/JmLq0VRc=; b=CQDaF03Tey6A8ysPfxNC3F/lDqVAHG6VfV8piiDl4HKBruPTmECHO5VQH6pyC/dcbu 30KNaX7koIrFJOy1B4NnCIKb3nYfLA6Mj2y8xJtGMuz+ZDo1lKSALOyCUVkG1PDQwBO3 Y6ILyHa7KdRjsHToenUO18yGS8VOB87zIQlqFpUczSE891sP/6DSJT1qEB+KznPk7m/c YVPrqawe7yvmzcx2ss6s2AmkFsmotD0FHf2yDibzaqLwe4gVlpLYkWCZiK+vFPdq6hTL ZAW1jsigveVmKLW1Vpp1nUIbsr9tEgAmL1YoxLdMTDi5+7xnVe0hx5/N+4GNFBy2KlF4 9UdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Pt5lc058; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne7-20020a17090b374700b0024792a548dbsi4686836pjb.126.2023.05.18.11.13.59; Thu, 18 May 2023 11:14:15 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Pt5lc058; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229572AbjERR7k (ORCPT + 99 others); Thu, 18 May 2023 13:59:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjERR7j (ORCPT ); Thu, 18 May 2023 13:59:39 -0400 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338CCDB; Thu, 18 May 2023 10:59:38 -0700 (PDT) Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3909756b8b1so844990b6e.1; Thu, 18 May 2023 10:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684432777; x=1687024777; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=3RZ484p2SQ7TxSccE0/ZDJkbe9UYR5m17S/JmLq0VRc=; b=Pt5lc058I1U0eKntpmnf6AmBTmfzAXhGZPXf3f7ZL8k7/N+Z/VTQHgbN62ZQ4yDFLp C6RdbXyrhoYLGuwy7OKrIUD+ArTiGo3o9IgURojrFhiKMBzt0exyVRHZzMh7maNKStLX Dxrj42D/cKCUzz5NUX4yCKKCmMO6SdNFoCGmL5HCOESWMZz49Hy5Co1MTV43MZR0iUYf tY07fKUaalWJISSlCQEOlo4k4yq+4Dt5uUgfUyunE6tXZY7On3Em+LCzXsYE9kqjGKB7 t3mdQOFNwvt5NQBVp7x+0+RBDgeVj/lg3uFlD9U0YLJYgTr+aPlkyz4ZMMHuvLjDX4GA u3hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684432777; x=1687024777; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3RZ484p2SQ7TxSccE0/ZDJkbe9UYR5m17S/JmLq0VRc=; b=CX2FC8EiRh44S+jP+BZyEOtdYMNpTQ2CAox47SE1gL3+UQP0oUK584lAGdjEynB68m NYcqfgddaqBJF2yfDuPo0RaCWC5t7mBJHKGHrDTd6PleAo0Qr9HvSZt00fTsN9R554px R+Ep7HvlCUde8L5mome8QmXnUs9u4nc1DnIr8YXStOhFHci/m7Ep95zfJEjvFEpyDSOf EYf41WcZPu2JLzzYNCY/FzWuSmQeBWEEsX8IKaAa3iIRcGnCLZzIwwkH1TIHaGkVNA9R cjDiaYvtPkb8CsITEU125E4yLY3s86wdM+HUPGepf1c3ThlMm29+R0vtZ0Ll4YUZu07o xoYQ== X-Gm-Message-State: AC+VfDyE8HKREofxeJI9dDeNO5E5GNzmigZJpJ5NmgxI1MrBZhp0pLzm T7y+j+p8LgrEqKHzr+75q+k= X-Received: by 2002:a05:6808:1a1e:b0:387:1e2a:fed2 with SMTP id bk30-20020a0568081a1e00b003871e2afed2mr1647930oib.49.1684432777332; Thu, 18 May 2023 10:59:37 -0700 (PDT) Received: from [127.0.0.1] (177-57-195-112.3g.claro.net.br. [177.57.195.112]) by smtp.gmail.com with ESMTPSA id i9-20020a056820138900b00552465a754esm658600oow.44.2023.05.18.10.59.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 May 2023 10:59:36 -0700 (PDT) Date: Thu, 18 May 2023 14:59:26 -0300 From: Arnaldo Carvalho de Melo To: "Liang, Kan" , Arnaldo Carvalho de Melo , James Clark , Ian Rogers CC: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Thomas Richter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v1_1/2=5D_perf_test_attr=3A_?= =?US-ASCII?Q?Update_no_event/metric_expectations?= User-Agent: K-9 Mail for Android In-Reply-To: <9178149c-45e8-3de4-58db-b8b8d27b3a08@linux.intel.com> References: <20230517225707.2682235-1-irogers@google.com> <64f329a9-09a3-aa84-a354-23a919062d09@arm.com> <9178149c-45e8-3de4-58db-b8b8d27b3a08@linux.intel.com> Message-ID: <053C65F5-503E-4DF8-8882-0B9EF1581D03@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On May 18, 2023 2:45:06 PM GMT-03:00, "Liang, Kan" wrote: >Hi Arnaldo, > >On 2023-05-18 8:55 a=2Em=2E, Liang, Kan wrote: >> On 2023-05-18 8:20 a=2Em=2E, Arnaldo Carvalho de Melo wrote: >>> Em Thu, May 18, 2023 at 08:50:14AM +0100, James Clark escreveu: >>>> >>>> On 17/05/2023 23:57, Ian Rogers wrote: >>>>> Previously hard coded events/metrics were used, update for the use o= f >>>>> the TopdownL1 json metric group=2E >>>>> >>>>> Fixes: 94b1a603fca7 ("perf stat: Add TopdownL1 metric as a default i= f present") >>>>> Signed-off-by: Ian Rogers >>>>> --- >>>>> tools/perf/tests/attr/base-stat | 2 +- >>>>> tools/perf/tests/attr/test-stat-default | 80 ++++++++----- >>>>> tools/perf/tests/attr/test-stat-detailed-1 | 95 +++++++++------ >>>>> tools/perf/tests/attr/test-stat-detailed-2 | 119 +++++++++++-------= - >>>>> tools/perf/tests/attr/test-stat-detailed-3 | 127 ++++++++++++------= --- >>>>> 5 files changed, 249 insertions(+), 174 deletions(-) >>>>> >>>> Reviewed-by: James Clark >>> Thanks, applied both patches to perf-tools=2E >>> >> Could you please hold patch 1 for a while? > >Sorry for the noise=2E That's not noise, I value your reviews, please keep doing them=2E >Ian has addressed my concerns=2E The patch looks good to me now=2E >It also fixes a "Failed" on my Cascade Lake machine=2E > >Tested-by: Kan Liang Thanks ! >But for long term, we probably need a better solution to avoid keeping >adding such non-architectural events in the test case=2E Yes, the situation now is different than the one when this test was put in= place by Jiri (IIRC)=2E - Arnaldo