Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2509014rwd; Fri, 19 May 2023 06:44:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7uoFriVdc1Hoaf57XNa8koR2J3wjZVzKN3sBWr3XPJQPzoynq8jt/V9l0UcOaD/EtJ+1FF X-Received: by 2002:a17:903:428a:b0:1ac:4a41:d38d with SMTP id ju10-20020a170903428a00b001ac4a41d38dmr2282869plb.51.1684503892935; Fri, 19 May 2023 06:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684503892; cv=none; d=google.com; s=arc-20160816; b=LxnvfWC96ZuF7CTDcNWzvs6add73xDGvqwAcs0dyIF7aiHkBxIRYQMqkbwv1yUI26m 0Mb8juowiHDH938LAZ8LpMcSfR0LpWQkELWgxIuHxRC2Tt25rflowEXThDkFUwrnril/ NiOZFRwTpuybSYcLG/BanLXn5A6qANUYEnWKi0lcoTLaLYDEHPFedVeHZkDBrBrECubR 1xXF8u08okyBDw4DRwnrWqSOG3sRP3GWZddOgvKDh80Qhbs51fD+IWYR+s4CQbRb/Lqc Qxb+SkIHn+iGkyuGAwPOI9IbqVkg2K6pQZI99TJjZc3wriMvqwiSSW7E0JndijHzsUOr GMug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=T68GSor1Gky05aW0uVyMSCxHTTtNQFzJSwjmFKfYa/8=; b=yoRGn7381Yz4BXkESd+Ga84U7yTrUZFbCDJMypM0Kj1GYD3QdUPIdgbVmN+3O40SVI CIVrx7HIjNOHVjZ3Jrmdo6WjS9j0GkkMhHbDLU+VzfmxYgqiJ96vguGloUdP6ez155Yh wt1B730HhBfgnUt128VJ41k0WAfDL/cfoNjEQd+UyRNggvzU0oinor/Hitf5988EB29I y0QkkdqQ7Y6apsQ0/zhIGH/h4zZt4tVTNwwS3UUBEskNQnuNFn4Ow9qm8kcCLcI58Tn3 TOWhTM6n+aobImVxnZXSOTJ6cLa0z6GUQGNwXgt28UxUkth0Yz4N7NZ1WZc63Mw3GNRO xCjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="PWRi8d/M"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a170902f68100b001ae6112dcecsi3851163plg.294.2023.05.19.06.44.37; Fri, 19 May 2023 06:44:52 -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=@kernel.org header.s=k20201202 header.b="PWRi8d/M"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230093AbjESNhG (ORCPT + 99 others); Fri, 19 May 2023 09:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbjESNhE (ORCPT ); Fri, 19 May 2023 09:37:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F251A1; Fri, 19 May 2023 06:37:04 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id A98C7657A6; Fri, 19 May 2023 13:37:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D633CC433D2; Fri, 19 May 2023 13:37:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684503423; bh=hiK8VYTchK7S3+lPacQ5ekj52Lz+h90mgpXJRPZ1faU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PWRi8d/MlwSR1R6bPzftqiCGljJm1zyhe4GlcGPD1gnNAG4UhV4pYTRdgBY+zCd4o t4J95dEwBDbP0EV8tSCi+Weokx9PSctINNw3afgGtv4h7oJqc4TbX/WmCE82sg5uqz VB/DxbqmPtsLuyJ6oGO/Mzj2e3tMMyd6lRTWz+dGWTAWfnUMsHfDR6ptFwoeNXXLUs u1ZP24Q7fzj9uUv91mrsUtf573iNZD6lcTo/nIbRF2jSvbmHCb4RKG9z8dVSW7F+i1 dBgya8n35kbt8hp8klPgSWDkHvTOvq3uJmz02vM5prdHcSXsoKrAhLFHTUKHSPS4WF tSp171a3A5/sw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 94052403B5; Fri, 19 May 2023 10:37:00 -0300 (-03) Date: Fri, 19 May 2023 10:37:00 -0300 From: Arnaldo Carvalho de Melo To: "Liang, Kan" Cc: James Clark , Ian Rogers , 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: Re: [PATCH v1 1/2] perf test attr: Update no event/metric expectations Message-ID: References: <20230517225707.2682235-1-irogers@google.com> <64f329a9-09a3-aa84-a354-23a919062d09@arm.com> <9178149c-45e8-3de4-58db-b8b8d27b3a08@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9178149c-45e8-3de4-58db-b8b8d27b3a08@linux.intel.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Em Thu, May 18, 2023 at 01:45:06PM -0400, Liang, Kan escreveu: > Hi Arnaldo, > > On 2023-05-18 8:55 a.m., Liang, Kan wrote: > > On 2023-05-18 8:20 a.m., 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 of > >>>> the TopdownL1 json metric group. > >>>> > >>>> Fixes: 94b1a603fca7 ("perf stat: Add TopdownL1 metric as a default if 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. > >> > > Could you please hold patch 1 for a while? > > Sorry for the noise. > > Ian has addressed my concerns. The patch looks good to me now. > It also fixes a "Failed" on my Cascade Lake machine. > > Tested-by: Kan Liang Thanks, added it, - Arnaldo > But for long term, we probably need a better solution to avoid keeping > adding such non-architectural events in the test case.