Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1754396rwd; Tue, 13 Jun 2023 13:47:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4uGsKZDGMd1fnm/NCTtq3BjeDu0hU9fo1608DfrdfwfY6rXrO3m1JbJtV3ReAjK68k2fGe X-Received: by 2002:a2e:9599:0:b0:2b3:46bb:fce8 with SMTP id w25-20020a2e9599000000b002b346bbfce8mr239759ljh.33.1686689249863; Tue, 13 Jun 2023 13:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686689249; cv=none; d=google.com; s=arc-20160816; b=pZlZO98BAjBgwOTwmoculjiN1UV1QrsW3q4kWirhgso4ogPB044zLKOftOkPZ/crcj j+PNu6ytl2sMinr6fxXpwFbaLvuw0ojYkoxMafDz40zMttvSwR2AX1dt7diBwCZ3nAGl G9s8PnbJWzrJRTfi+tDCQkMhaAhnC/725xamc29EAkX33xriLrS/vPj6g9+bS01X1Wwr 5AEJ3P2HZ+J8MK4w5t/psicbVaDH8dFW6oAX9iAw07kdaldY0rNSoY13YB60joKQ4uHj lLOsCWBQRW7KVTqWMJ11fNuwb6LUQuihq07gYhJgndFZ6d9wFjz+dSM15o5lGFV81cSw GPYw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VgshFDmK0FzOaHAtjb4u+H1RPw6Qmrji2e9xEpRXiVw=; b=mr538d2O7GdHdNuNK9aGBBSiyuBKidpw5eY7NLv/LyXzdMDVMnKaJo2jwjqH6CVA7i vwGpcgx3KqzylRgqL7N07LEp0p40j9pwkh+GT5Llc7LQUvrK2TpfmbPqN/s0uGaXt21M UdvWNJOzPCTtIxHYaZhs1gu04tG7SjFKwzPiIxqB3kx7CdqXTGWzXpO40l0xH1XjpzcD 4KGnF42mhd+oJYAsbG/djULPPgLpxzQYWnsDJAekUL6HhDU7O9EYIgNJMohTlSPF7JSF RPar0ZWssvD6oBs1KxEmE/jzQEb03dGTBqpVNQvelN/iWNO8P4GpI8a3YWVwTYndhTA4 +Whw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rWDt8k9o; 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 n14-20020a056402060e00b00518344c0b28si4119400edv.283.2023.06.13.13.47.04; Tue, 13 Jun 2023 13:47:29 -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=rWDt8k9o; 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 S230045AbjFMUcr (ORCPT + 99 others); Tue, 13 Jun 2023 16:32:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232841AbjFMUcc (ORCPT ); Tue, 13 Jun 2023 16:32:32 -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 45FB9199E; Tue, 13 Jun 2023 13:31:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 81FD663410; Tue, 13 Jun 2023 20:31:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B80ACC433C8; Tue, 13 Jun 2023 20:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686688317; bh=oBQ8U1fHqp82qpMDxnRBO4x2zGTKKv5PhQJBQNLe6KA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rWDt8k9o9TANEnQTd8kp25WxPMGpxHC2uvilvUFr1Qtpw1jU2slJRCsIU9zSpuG1o 9p97CNNtIGJg+snGCHXueY3AKF0VCOrc73YUemztsNJwlxpvC0X6DOXOrEwXk5PBr7 yv6F4tlbr35MS9ndu3PDkUe6JAC4Sb2PL9jF3kEYt4gNTGm+p9UjiyfbpzuAZfJdWt 9pFiD20/QfNdX4xGUNr15zbhkUqSY8lm5Y92/s3uMV0XE9VqG44UUpVUux546g3P7G D8DCMixjFaYp6z8RfDb1R30fP4M81eGRnliZOx48jv4EaXDWC9ixfXdpo+NM0vcAie d6LYIK9DT4J/A== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 34D0B40692; Tue, 13 Jun 2023 17:31:54 -0300 (-03) Date: Tue, 13 Jun 2023 17:31:54 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: kan.liang@linux.intel.com, mingo@redhat.com, peterz@infradead.org, namhyung@kernel.org, jolsa@kernel.org, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, ak@linux.intel.com, eranian@google.com, ahmad.yasin@intel.com, Jing Zhang , John Garry Subject: Re: [PATCH 4/8] perf vendor events arm64: Add default tags into topdown L1 metrics Message-ID: References: <20230607162700.3234712-1-kan.liang@linux.intel.com> <20230607162700.3234712-5-kan.liang@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Tue, Jun 13, 2023 at 12:45:10PM -0700, Ian Rogers escreveu: > On Wed, Jun 7, 2023 at 9:27 AM wrote: > > > > From: Kan Liang > > > > Add the default tags for ARM as well. > > > > Signed-off-by: Kan Liang > > Cc: Jing Zhang > > Cc: John Garry > > Acked-by: Ian Rogers Thanks, applied. - Arnaldo > Thanks, > Ian > > > --- > > tools/perf/pmu-events/arch/arm64/sbsa.json | 12 ++++++++---- > > 1 file changed, 8 insertions(+), 4 deletions(-) > > > > diff --git a/tools/perf/pmu-events/arch/arm64/sbsa.json b/tools/perf/pmu-events/arch/arm64/sbsa.json > > index f678c37ea9c3..f90b338261ac 100644 > > --- a/tools/perf/pmu-events/arch/arm64/sbsa.json > > +++ b/tools/perf/pmu-events/arch/arm64/sbsa.json > > @@ -2,28 +2,32 @@ > > { > > "MetricExpr": "stall_slot_frontend / (#slots * cpu_cycles)", > > "BriefDescription": "Frontend bound L1 topdown metric", > > - "MetricGroup": "TopdownL1", > > + "DefaultMetricgroupName": "TopdownL1", > > + "MetricGroup": "Default;TopdownL1", > > "MetricName": "frontend_bound", > > "ScaleUnit": "100%" > > }, > > { > > "MetricExpr": "(1 - op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles))", > > "BriefDescription": "Bad speculation L1 topdown metric", > > - "MetricGroup": "TopdownL1", > > + "DefaultMetricgroupName": "TopdownL1", > > + "MetricGroup": "Default;TopdownL1", > > "MetricName": "bad_speculation", > > "ScaleUnit": "100%" > > }, > > { > > "MetricExpr": "(op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles))", > > "BriefDescription": "Retiring L1 topdown metric", > > - "MetricGroup": "TopdownL1", > > + "DefaultMetricgroupName": "TopdownL1", > > + "MetricGroup": "Default;TopdownL1", > > "MetricName": "retiring", > > "ScaleUnit": "100%" > > }, > > { > > "MetricExpr": "stall_slot_backend / (#slots * cpu_cycles)", > > "BriefDescription": "Backend Bound L1 topdown metric", > > - "MetricGroup": "TopdownL1", > > + "DefaultMetricgroupName": "TopdownL1", > > + "MetricGroup": "Default;TopdownL1", > > "MetricName": "backend_bound", > > "ScaleUnit": "100%" > > } > > -- > > 2.35.1 > > -- - Arnaldo