Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp693896imn; Thu, 28 Jul 2022 12:55:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uWyWfYtVQVh92aWzP0u6+RWxRj51uKKPaYJkVetyGeJF4taLgtfXGES6FbUTipZbjW1stu X-Received: by 2002:a17:907:75cc:b0:72b:4a96:69fe with SMTP id jl12-20020a17090775cc00b0072b4a9669femr397323ejc.276.1659038137271; Thu, 28 Jul 2022 12:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659038137; cv=none; d=google.com; s=arc-20160816; b=RhOTZpakGYCmAMW+AW3acu641RZ2uNI/OMYhfQd9kbZNKYO0uxqwqzSiWV6heNqfQf +SwrLrermec9qgEGcTj3eYUsCb55NUrB1ks6CF9Opymea0eP7ibASWUUYVK/TULQKDdZ fXnCbWCz5aHzqhg4nigxqf6spbYkCYAhnHqPDcXw3GUjmI1RESRIHHfG0UsTZVOKqKNL 8H3qxSJtYyfcL6ujontlazx+dD9RUWd6pYQlC9JTSs/oTFxlIyp/xz5d56CmsMpzFJcA fmrM+0QHjd59VM+ePsk+W3AtMwv4dVxQx6Ug9S7bEkhnXkgQstmHFWlv0BXFa7fWZhyA 7SBQ== 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=+quPdAiwVCKosaxZ/V0X7D+YrmLSbC7gh+J8h1Q2JY8=; b=0vpIS8OBxg0xDCAX4rfUKKPrjmTV6CdAV9v2uKWtkGCFKiFfs0rJfJcbjQ9fO1bPut na/oueI5N+oS0gCXBVHHBeEJTg5tHa/jvt92ZCtxnF8UzBzrh7MWFJTUgWMLHMjhZUM5 e1q/zPrF4rkBp7MdH1WDv4VEo0nhHnLac8iQ1JEgrUdZxc+oIIXO2PCyClzOI4sTFzhH c8dfJoDlCRGdjwO6+agR/ruN3ngnTsHfX/K+t4gOjyzPLWntZzpDbOC7WA4GIAwB5fXj sxTjwSvsmxNyqLd0zmuZBDDhTD8VlI7cS3CP63zRJJ1KL+bGlCdGbyzXOYcWwxIng99h 8h1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2FT1fs0; 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 c10-20020a05640227ca00b0043aa374346bsi1558581ede.626.2022.07.28.12.55.13; Thu, 28 Jul 2022 12:55:37 -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=Q2FT1fs0; 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 S229625AbiG1TOp (ORCPT + 99 others); Thu, 28 Jul 2022 15:14:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbiG1TOn (ORCPT ); Thu, 28 Jul 2022 15:14:43 -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 C378276E81; Thu, 28 Jul 2022 12:14:41 -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 5515061DE5; Thu, 28 Jul 2022 19:14:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90C4CC433D6; Thu, 28 Jul 2022 19:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659035680; bh=bSq6pHNBJXc4FkdLzeoUweLnmHWG1wHVkkQKCwFpV64=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q2FT1fs0E4yAmmQP74plKSIR67wYUyS8klL6SdmaeVo26wD+8JIRuIWowyS7mHgV6 GPsl5tSoe/KzOCsTiUDCXgOwq2w/Lo+i4Ow86kzjGnWINCYJJBwkSWmHTgZjI7NpvW LXVdrctvsC8OzW+cWx3bPBRCIYlfzlbgR87hM1z/L/HOeOATDNIV6RqZsrdJ1zKdos urBIPciDO6X03wkwtUWQJqw3Vv3cKDnXsVcqOKCwibhmAnbFLUPRI6AyJ0+79I81n6 52Z9GhSrPp4g6K9ZX7kHILfwsz3y52Y4q+DrCwmOhpo3QMTApVV3/Q8aPHCCOOuWwB 5bAuU7j+LqsQA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id DDB7B405DD; Thu, 28 Jul 2022 16:14:37 -0300 (-03) Date: Thu, 28 Jul 2022 16:14:37 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: perry.taylor@intel.com, caleb.biggers@intel.com, kshipra.bopardikar@intel.com, Kan Liang , Zhengjun Xing , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Maxime Coquelin , Alexandre Torgue , Andi Kleen , James Clark , John Garry , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Sedat Dilek , Stephane Eranian Subject: Re: [PATCH v3 00/30] Add generated latest Intel events and metrics Message-ID: References: <20220727220832.2865794-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220727220832.2865794-1-irogers@google.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Wed, Jul 27, 2022 at 03:08:02PM -0700, Ian Rogers escreveu: > The goal of this patch series is to align the json events for Intel > platforms with those generated by: > https://github.com/intel/event-converter-for-linux-perf/blob/master/download_and_gen.py > This script takes the latest event json and TMA metrics from: > https://download.01.org/perfmon/ and adds to these metrics, in > particular uncore ones, from: https://github.com/intel/perfmon-metrics > > Some fixes were needed to the script for generating the json and are > contained in this pull request: > https://github.com/intel/event-converter-for-linux-perf/pull/15 > > The json files were first downloaded before being used to generate the > perf json files. This fixes non-ascii characters for (R) and (TM) in > the source json files. This can be reproduced with: > $ download_and_gen.py --hermetic-download --outdir data > $ download_and_gen.py --url=file://`pwd`/data/01 --metrics-url=file://`pwd`/data/github > > A minor correction is made in the generated json of: > tools/perf/pmu-events/arch/x86/ivytown/uncore-other.json > changing "\\Inbound\\" to just "Inbound" to avoid compilation errors > caused by \I. > > The elkhartlake metrics file is basic and not generated by scripts. It > is retained here although it causes a difference from the generated > files. > > The mapfile.csv is the third and final difference from the generated > version due to a bug in 01.org's models for icelake. The existing > models are preferred and retained. > > Compared to the previous json, the major changes are: > - the inclusion of basic meteorlake events, > - the inclusion of server uncore metrics, > - the inclusion of previously ungenerated and experimental uncore events. > > v3. Rebase on top of Zhengjun Xing's updates. Remove merged test fix > and tremontx rename patches. Thanks, applied. - Arnaldo