Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22892117rwd; Fri, 30 Jun 2023 14:22:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFG0wKRcAkQ4M/T206UUs1AjuFhjcyoiL1QNKpfSI4xM50obPEtZCglCxE0km53+7/KUK9f X-Received: by 2002:a92:dac7:0:b0:345:a454:113d with SMTP id o7-20020a92dac7000000b00345a454113dmr3119496ilq.24.1688160170855; Fri, 30 Jun 2023 14:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688160170; cv=none; d=google.com; s=arc-20160816; b=v0Q0YmG1ctM2thanv8G/mrJT8EMP7yjvatrBM/3SwmtUMu2dFUpc5OkkpOnzLZIqp6 3TFY5O51QlqvxhRFALGl91wM+OzYINFES20IohE7VehoYGcBVMgR9r2AOCkRBEAAr6oJ TJ9+AkmunI3jhUdwSCW8xXVr/1FkUlJcthNOanwMwmFxu+C33l9s38wgATulrqpiEkCa +2VBW/Jx0TqvB0bnCzrvf1vo6lPkC6Y404Hiz62fwgdtLlYAHe5Vgb5dElz9vx/GmSaN FM45eeZ8HKob8GjNcPwHk1JOar5XjNedST6GTVcHZCvqRb+8NpwO85URqnP8loVhCW9n FRJw== 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; bh=vYAZ+7kOdgQ5jBgvy81BukN7KCqKQnOIApepleiHVac=; fh=hPFVq+dby6dscbXfLxJmNsVY6Qqej8Qi5vW2UoxplFA=; b=C5q+VnnQo8VFxHuJV4RzPecip8R4okghnsLPmVwY8FOG/wgriZZxEfIP/9PxPVsi2K x2/1NVCXCPCSLdE4SCrALqCyUgp4HQK/XvpvZhhJOPH7fUMdWh0aHjFhr4F+uLk3A66w QA7BBIilmq5kvpv21Aj7QzDJCLqFe62b3BZ/c95G3RY4j/JxEqRKfp8jVhc4BYf9ylBO A1PH7lzuFb9dXsaZWfLGiI1YZKyhBfjxo5prNBvZ5X1oZ5sZ1NnLBcgGsBvHLLM9NhoO d6LNP0cPR5NFQOfmWCaxItMtAq9xSqB2TydxpDcCUBardW5/rEZrHXRCDw9HHLuBBPWq edew== 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=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 t21-20020a63dd15000000b00543cbd73c02si13333353pgg.409.2023.06.30.14.22.36; Fri, 30 Jun 2023 14:22:50 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232694AbjF3VEB convert rfc822-to-8bit (ORCPT + 99 others); Fri, 30 Jun 2023 17:04:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232726AbjF3VDw (ORCPT ); Fri, 30 Jun 2023 17:03:52 -0400 Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E98424221; Fri, 30 Jun 2023 14:03:48 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-c40c367949eso1342543276.1; Fri, 30 Jun 2023 14:03:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688159028; x=1690751028; 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=wVGM406xAqn4Hn9Deh7kQt4tORL6Fxhh/UBnDJhIX3I=; b=CzIjt5xVEqqcAlgyHrLMT85/B5TIYHlVJM8enjx/uChiCCpipGV8yluOy354TqMDcp 5u+GjZFANjVQVPclj78VJdP3ZffgzhZfUGP+u2Xixn02GMUuB62EieElyznM4aZGTE7r 4D5Sqz4C0JYrAIjCBovs1mVW+S8SfIKqDfPXhoDh/GnqmY35Z7bJPlfSCChxAS3QZpPW zaeIfmJzMRJ7FoWGp5uCwxtP4/y76rtjYSd5svzEFykevFytm4siO+gaRq3snU72PKr/ f3VA8jyBwYTv85YlVNGikYLGyqqQQqhJgbDZDLop9jRyElGtyWTOGTpOK3jo5eDP5A0Z kkHA== X-Gm-Message-State: ABy/qLZIyh+XxqZw6ktsMQQPNO47fvX83g7c92J72utM0O7iKaibzY3C wS6isL/qNyd0TcWxAL3z1YkrB9DqG03fnDVHrcM= X-Received: by 2002:a25:6cd4:0:b0:bac:1522:f870 with SMTP id h203-20020a256cd4000000b00bac1522f870mr3675226ybc.52.1688159028012; Fri, 30 Jun 2023 14:03:48 -0700 (PDT) MIME-Version: 1.0 References: <20230623151016.4193660-1-irogers@google.com> In-Reply-To: From: Namhyung Kim Date: Fri, 30 Jun 2023 14:03:35 -0700 Message-ID: Subject: Re: [PATCH v2 00/12] Add metric has_event, update intel vendor events To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kan Liang , Zhengjun Xing , Kajol Jain , John Garry , Andrii Nakryiko , Eduard Zingerman , Jing Zhang , Sohom Datta , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Perry Taylor , Samantha Alt , Caleb Biggers , Weilin Wang , Edward Baker Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 29, 2023 at 2:31 PM Namhyung Kim wrote: > > Hi Ian, > > On Fri, Jun 23, 2023 at 8:10 AM Ian Rogers wrote: > > > > Add a new has_event function for metrics so that events that can be > > disabled by the kernel/firmware don't cause metrics to fail. Use this > > function for Intel transaction metrics fixing "perf all metrics test" > > on systems with TSX disabled. The update conversion script is posted in: > > https://github.com/intel/perfmon/pull/90 > > > > Re-generate Intel vendor events using: > > https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py > > Adding rocketlake support, uncore and many core events for meteorlake, > > and smaller updates for cascakelakex, icelake, icelakex, > > sapphirerapids, skylake, skylakex and tigerlake. > > > > v2. Handle failed memory allocated for evlist, John Garry. > > > > Ian Rogers (12): > > perf expr: Add has_event function > > perf jevents: Support for has_event function > > perf vendor metrics intel: Make transaction metrics conditional > > perf vendor events intel: Add rocketlake events/metrics > > perf vendor events intel: Update meteorlake to 1.03 > > perf vendor events intel: Update cascadelakex to 1.19 > > perf vendor events intel: Update icelake to 1.19 > > perf vendor events intel: Update icelakex to 1.21 > > perf vendor events intel: Update sapphirerapids to 1.14 > > perf vendor events intel: Update skylake to 57 > > perf vendor events intel: Update skylakex to 1.31 > > perf vendor events intel: Update tigerlake to 1.13 > > My tigerlake laptop now passes the all metrics test with this. > It used to fail like below: > > event syntax error: > '{cpu/cycles-t,metric-id=cpu!3cycles!1t!3/,cpu/tx-start,m..' > \___ unknown term 'cycles-t' for pmu 'cpu' > > Tested-by: Namhyung Kim Applied to perf-tools-next, thanks!