Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5589006rwb; Wed, 9 Aug 2023 06:31:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHmk+2Y/NnCePvVHUeljsd2H3GByTISNiviH3KTgWb2TAJWyIksI0mlpj3bTYoDd/S5ojwj X-Received: by 2002:a17:907:7899:b0:993:eddd:6df9 with SMTP id ku25-20020a170907789900b00993eddd6df9mr2146857ejc.2.1691587911360; Wed, 09 Aug 2023 06:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691587911; cv=none; d=google.com; s=arc-20160816; b=RtyaB1jFAGnilbQZj7YRpdcLEQmhugOUIgzb761FzfGFbJlAhxUEv4ifeUJWBuEYCS 4p0eGCMBS0JSImwCr0MpjeslSmq19hBwTuhQGQSHVcqR0wgTNKOjJVcHGN59gHlP9u2N pOSC3PHGREFrog5yTFUqyWLcVIwM9zHL9pNJ1HuFTTOGFpxDFGQnXnOWR5jHCXiAol/E B/dQOi2DVdB5lPc0U3pTvezHUo1B+NHAlW4VZkr99bM3SGJ5zAJF7Gje9z+XcKAWAMdN 7IK48Y63EuNBzBpSt5Nq8+4Y91BBDm773FhauzI+wdUx9VQMaKAZbbTpOPN2ae5LwOIq M0VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=aGJ948XjAw7gOToEDJLF84QfGFMi4GzUztpn9hVqdoA=; fh=gonZXy07QZxE6PHHczuhn3njU2XO7EJzvPNJGhhVB/Y=; b=wWW9G6T2dG9Mko7czDbqSdkrg3LFqSxqdJq52ODVc1YDPpA9uUY1CO+KaV8tXFWhVb qK/0OEC7hwGqeMcNzWaQ1U2Y6RRjxL1WZrxunN0O/VJo/NNIDemsjRiED23Bx2nPvKj8 fKIyNGFhcwFK+cPVdNdKeTagSh56XTywzM1/72Bqilt6SOdxIMp6LX8fGuleleKNMh/M PbVddSgtUQqAr8sxz8W2XZdE7M15KPB70Tyc0xmyUwBdgm3ozVzv6sXvuQg6yL874SnP X3+cvv1CtrXW6grml/99wnzWST5t4wFUvqJqXdZaFyQ/hPtIqWl0JW9EwHdEUH4/O+us 3+PA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id md13-20020a170906ae8d00b0099c49a11e78si845869ejb.975.2023.08.09.06.31.26; Wed, 09 Aug 2023 06:31:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231764AbjHIM7I (ORCPT + 99 others); Wed, 9 Aug 2023 08:59:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231368AbjHIM7I (ORCPT ); Wed, 9 Aug 2023 08:59:08 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 372ED1FF5; Wed, 9 Aug 2023 05:59:07 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 316F8D75; Wed, 9 Aug 2023 05:59:49 -0700 (PDT) Received: from [10.57.1.30] (unknown [10.57.1.30]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6B7773F6C4; Wed, 9 Aug 2023 05:59:03 -0700 (PDT) Message-ID: Date: Wed, 9 Aug 2023 13:59:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v4 4/6] perf vendor events arm64: Update scale units and descriptions of common topdown metrics To: John Garry , linux-perf-users@vger.kernel.org, irogers@google.com, renyu.zj@linux.alibaba.com Cc: Will Deacon , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Suzuki K Poulose , Kajol Jain , Kan Liang , Nick Forrington , Eduard Zingerman , Rob Herring , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org References: <20230807142138.288713-1-james.clark@arm.com> <20230807142138.288713-5-james.clark@arm.com> <6c8c46f0-b567-68c8-2ce7-3d1a8a21569b@oracle.com> Content-Language: en-US From: James Clark In-Reply-To: <6c8c46f0-b567-68c8-2ce7-3d1a8a21569b@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 08/08/2023 09:46, John Garry wrote: > On 07/08/2023 15:20, James Clark wrote: >> Metrics will be published here [1] going forwards, but they have >> slightly different scale units. To allow autogenerated metrics to be >> added more easily, update the scale units to match. >> >> The more detailed descriptions have also been taken and added to the >> common file. > > It's unfortunate that we can't have a concise description - like which > we have now - and a full description. > >> > > Anyway, > Reviewed-by: John Garry > Yes unfortunately in the source data the metric short description ("title") pretty much just matches the metric name but without underscores. For that reason we chose not to use it for Perf's short description otherwise the list command showed a lot of duplication. "frontend_bound": { "title": "Frontend Bound", "description": "This metric is the percentage of... The PMU events on the other hand do have a short description in the title field rather than just repeating the name: ITLB_WALK": { "code": "0x0035", "title": "Instruction TLB access with at least one translation table walk", "description": "Counts instruction memory translation table walks caused by a miss in the L2... I can raise this internally as it does seem to be a bit of an inconsistency. James