From patchwork Mon May 8 09:39:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 9031 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2065470vqo; Mon, 8 May 2023 04:04:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ46FRqcR+plf0hKXtW9UtCeQLr2h+2bueJ9nf3NZUbSR+eLunvin/cZbRuLi+MQOja+NXJU X-Received: by 2002:a05:6a00:218e:b0:633:8cc7:bbd5 with SMTP id h14-20020a056a00218e00b006338cc7bbd5mr12048458pfi.11.1683543898167; Mon, 08 May 2023 04:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683543898; cv=none; d=google.com; s=arc-20160816; b=cg1UeD5+h+Rmqf7A5jB0xkt32njnrnnbzN/h7vY7qeQPR1sojIUsrZ+jke7PrCu3yd 0EzBs1PRBsaNIO1wRvQDZMhnUM3nF4smduCIMXOpux10XVob6BEggyNSBXPG7dYys9jR xRPVsbZfmKsVM99du+nwzjXpmtfOFqQNEhF/tWhrQ+Yftzx9cX+4trriLewjHn8a3srH HFS+38Rop3fMlw4TDF2GqwENwM+uC+28H1B8qSxjkVoOBXLUnJsBycBNZwcz0GrO5AbW +Tg4FFiVBUFGaCis2AMpszNwP5uw/T47o13u8qf2d1DbexD/vzN9u3IiYag/xe8w6oGZ GGMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=Q15Lr/+FownLt4yY+mPKgr0MijWRXoPfABlILkC5t6Y=; b=Cdkur7vD53z7Gpamgglx4/KDKiRSCqIHmw0EC+xRc9WdY3JtL/jMi9PODah79vCPaK ycCM4wDCI9upbnran02UndCkBCuaQZ2hZQiVrwGY4bMhJajZcFkV7stWeEnqnkSg5qhn OJe8+kR1d/3EN3m823erAYi2reQOrLg2sm2Xw4o/hssOLuOyFQAzwrL4i8hjRea8HZ4M 2dB2UDRDHgYUAXqg98AE3rQnpEVqxGrW1PcL221IPD4vwrygxCTRs9MTUtPOanf9K7tw uSenrQHIlbhw1qDvEnTqxvYFj8nWpHrHUeX4hSqp3XdrjbEAvZA2pKUo3J5AqXrFSpTC 5Uug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WYTXgvU7; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b76-20020a621b4f000000b006351cdc5e2fsi8263397pfb.292.2023.05.08.04.04.45; Mon, 08 May 2023 04:04:58 -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=@intel.com header.s=Intel header.b=WYTXgvU7; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232208AbjEHJkf (ORCPT + 99 others); Mon, 8 May 2023 05:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbjEHJkc (ORCPT ); Mon, 8 May 2023 05:40:32 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 212781709; Mon, 8 May 2023 02:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683538832; x=1715074832; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FbTuCrNfqpLm6qqrj0ilSsTazE+fOIbTBMkylLTw674=; b=WYTXgvU7hcioNF8wlQmwQdW3PK4wEMu3vMo0Y6H4XqR4VYYkGQWAbBG4 PDCRRxHmfSAxPqzgg9MmIdzyX/S2P0o9IeanoAEih1sIvUYWn1uvTyS99 GqK4fbcGLK1jBiquk+calFnb6kKVkjIvNYnssArI7XdQHlreXdaRz2mFz QG6LKSO3odUPqO8VaBJzQCnXPbUtv6zTZ767+bb2MM+GoWFg+K2E4MQ73 zki1GMMhi6VkcRZ69LiyVJMbAWy5Xrti7+cVc6svUINL2NfBlW7Twy3Hg sELKw38TzdZ+y3nMH9rkrBY6DkTzlY44d0qZ8PcZuhwLhKVG1wu5v8M6/ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10703"; a="329223670" X-IronPort-AV: E=Sophos;i="5.99,258,1677571200"; d="scan'208";a="329223670" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 02:40:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10703"; a="1028354984" X-IronPort-AV: E=Sophos;i="5.99,258,1677571200"; d="scan'208";a="1028354984" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO ahunter-VirtualBox.home\044ger.corp.intel.com) ([10.251.218.65]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 02:40:29 -0700 From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Namhyung Kim , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH V2 0/2] perf parse-events: Do not break up AUX event group Date: Mon, 8 May 2023 12:39:50 +0300 Message-Id: <20230508093952.27482-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki 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_PASS,SPF_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765323726781473756?= X-GMAIL-MSGID: =?utf-8?q?1765323726781473756?= Hi Here is a fix needed in v6.4, but dependent on Ian's patch "perf evsel: Modify group pmu name for software events", refer: https://lore.kernel.org/lkml/20230502223851.2234828-20-irogers@google.com/ There is also a test amendment to test the AUX event group fix for Intel PT. Changes in V2: Add an Intel PT test amendment for the AUX event group fix Change AUX event group fix as suggested by Ian Adrian Hunter (2): perf test: test_intel_pt.sh: Test sample mode with named PMU perf parse-events: Do not break up AUX event group tools/perf/tests/shell/test_intel_pt.sh | 7 +++++++ tools/perf/util/evsel.c | 9 +++------ 2 files changed, 10 insertions(+), 6 deletions(-) Regards Adrian