Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2154366rwd; Thu, 15 Jun 2023 23:14:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4gRzXyV1h9bN6pefOcF/mPqQl+n1xg20WwZi5J2yDEGc9OrKqGF37ymuDf3eBE4XMI+OGq X-Received: by 2002:a05:620a:3952:b0:75d:6b6d:636e with SMTP id qs18-20020a05620a395200b0075d6b6d636emr860822qkn.11.1686896088708; Thu, 15 Jun 2023 23:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686896088; cv=none; d=google.com; s=arc-20160816; b=ViWbKhqEmotrbppYD9F6cOiiI0eje3K58uBOKphUtLE/EfH0hnHExh1SmkFGSiG0Rq BI/zXNABFIa4h/fiPH24yI/vjk6lGrpVO7Vlkug+nz+e/LwSjZn9OO4HtOKJ5Khl12qW bxo/K8AV4ePVg3P5vQQbt26oe0kektKyaW1rEGRjd39ag5QqCTjEvv4DYINhZFJmCIHV kbvPzljFQq6o+zuEZyqgHDKQzH76HhPptODraxGOt50juimMr2ediayybspVCQSrZh8X bdUYhYdU4bJgvbEVflmZaTisx3dxjQbdyfI6HA12gRShDdjFUqqBolI79C6cu+tkdQ7q 0Nig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=gjf/Q1AKMt/rmDqEwL5TkR67v9E2T5unrUGfsNy/w4U=; b=hPU+iC6qxX6i1hqp3iasQ/tlHGka0jAwmfoAAVVWb5T34JZQZRPLkH6e0bSbqQCjsh ct9r+eBznZuUfUzjNQ1+Djb4lLYGjTFkHelMaheBSiFhVnLR1ooNiwCQg1qtbkXqVL4a GFc4H5//218epb+CCc6PxzdljAv8id3hAp9r5hMjvwv5bLmo4BW8lNCu+njaBDn25RQ+ nWWQgLHDXGu5Tt3odmZ2djmFF0PFtBmjsMAFO308Nv9FGzqTSdtTCatArzIy5dMuoFZh 3PLyL5hIacf95t8nYgGT8+HwmmGVirJf1K90jpPWwkWf8YqdQrRiZZimATL6D3tzBMAQ iejg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=hmYAMLKX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a63b205000000b00541710a9d44si9971954pge.114.2023.06.15.23.14.35; Thu, 15 Jun 2023 23:14:48 -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=@google.com header.s=20221208 header.b=hmYAMLKX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238285AbjFPF5n (ORCPT + 99 others); Fri, 16 Jun 2023 01:57:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbjFPF5l (ORCPT ); Fri, 16 Jun 2023 01:57:41 -0400 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C944E2D57 for ; Thu, 15 Jun 2023 22:57:40 -0700 (PDT) Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-33d928a268eso115035ab.0 for ; Thu, 15 Jun 2023 22:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686895060; x=1689487060; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gjf/Q1AKMt/rmDqEwL5TkR67v9E2T5unrUGfsNy/w4U=; b=hmYAMLKXJ2DA3K1l6mvzogsKKGpz89kqxn0e3TWgyvQa4/fpVb4aXlPoqi5PABl0wV mpU3gZc5BEESftGWx+RbZVUd1XHp1wBvZGHQTGUPA8uEtJuq4GLwbmUJjsyFzEMRAIJx sDH47svL3GF0Eb3K2HuWCAFZaobHcqU8TE6qHIkuG0yd/DrmMzp+hd0/hxyKiLbLrvNe pKzFySLUZCm2FCnU65P73jIpBLaGXjntQ8fPlT83s1ig0o0VwIxnFFaNF5A1oNl1y//o ijyhTyFOIAL44cB7eoIEyIKYGiGyvGH7PrXdd+EqLtVANFbspGmP0K4hd+yaL+Lb0lg9 f6DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686895060; x=1689487060; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gjf/Q1AKMt/rmDqEwL5TkR67v9E2T5unrUGfsNy/w4U=; b=PSlp8pHwjDGm+ZE62l0BiuR8hDsyrp0ts1C0ZKZ9dSnO5YFvG9oqgM27vw30R9zXgK iD1oENBgS7vOxOq7ULG4FsGR3wLYpq8rKt8n1Y+bacBDlTSTIRZgyjuOPm94US5m05ld ClCcezd6qtJ9YXwuaVX3ur6DIvH+XWDP/+TRkGfCVS7KUJtgkWXZeBE+H+beRdEeB6Pp FtYUpoKwwAXNr6MhcgapKtnHjO8JLQlFSayd1J3qGVFXzPeJdEgpDkztjW1rSYr0jR8/ nTVb5etIBGetEIOQ7IZogEQ16/mlAgsDcefq7uapvsSt24AwVNbpRDszwzTqiFlT5DhR f/kA== X-Gm-Message-State: AC+VfDxTvyxz9v7Uwn5mEw+kpIroq7XMb0Itge2rS4inWkruyEfeB2PL SPEhBufVeY/c2quFUopSJ59w77Gkp5qMmZC6HEDieg== X-Received: by 2002:a05:6e02:1bcc:b0:340:ccdd:5739 with SMTP id x12-20020a056e021bcc00b00340ccdd5739mr371453ilv.16.1686895060136; Thu, 15 Jun 2023 22:57:40 -0700 (PDT) MIME-Version: 1.0 References: <20230616031420.3751973-1-kan.liang@linux.intel.com> <20230616031420.3751973-6-kan.liang@linux.intel.com> In-Reply-To: <20230616031420.3751973-6-kan.liang@linux.intel.com> From: Ian Rogers Date: Thu, 15 Jun 2023 22:57:29 -0700 Message-ID: Subject: Re: [PATCH V4 5/5] perf vendor events arm64: Add default tags for Hisi hip08 L1 metrics To: kan.liang@linux.intel.com Cc: acme@kernel.org, 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, John Garry Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Thu, Jun 15, 2023 at 8:15=E2=80=AFPM wrote: > > From: Kan Liang > > Add the default tags for Hisi hip08 as well. > > Signed-off-by: Kan Liang > Cc: John Garry Acked-by: Ian Rogers Thanks, Ian > --- > .../arch/arm64/hisilicon/hip08/metrics.json | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/metrics.jso= n b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/metrics.json > index 6443a061e22a..6463531b9941 100644 > --- a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/metrics.json > +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/metrics.json > @@ -3,28 +3,32 @@ > "MetricExpr": "FETCH_BUBBLE / (4 * CPU_CYCLES)", > "PublicDescription": "Frontend bound L1 topdown metric", > "BriefDescription": "Frontend bound L1 topdown metric", > - "MetricGroup": "TopDownL1", > + "DefaultMetricgroupName": "TopDownL1", > + "MetricGroup": "Default;TopDownL1", > "MetricName": "frontend_bound" > }, > { > "MetricExpr": "(INST_SPEC - INST_RETIRED) / (4 * CPU_CYCLES)", > "PublicDescription": "Bad Speculation L1 topdown metric", > "BriefDescription": "Bad Speculation L1 topdown metric", > - "MetricGroup": "TopDownL1", > + "DefaultMetricgroupName": "TopDownL1", > + "MetricGroup": "Default;TopDownL1", > "MetricName": "bad_speculation" > }, > { > "MetricExpr": "INST_RETIRED / (CPU_CYCLES * 4)", > "PublicDescription": "Retiring L1 topdown metric", > "BriefDescription": "Retiring L1 topdown metric", > - "MetricGroup": "TopDownL1", > + "DefaultMetricgroupName": "TopDownL1", > + "MetricGroup": "Default;TopDownL1", > "MetricName": "retiring" > }, > { > "MetricExpr": "1 - (frontend_bound + bad_speculation + retiring)= ", > "PublicDescription": "Backend Bound L1 topdown metric", > "BriefDescription": "Backend Bound L1 topdown metric", > - "MetricGroup": "TopDownL1", > + "DefaultMetricgroupName": "TopDownL1", > + "MetricGroup": "Default;TopDownL1", > "MetricName": "backend_bound" > }, > { > -- > 2.35.1 >