Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2962793rwb; Mon, 7 Aug 2023 06:20:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKtuijUEzXfS/HrxG0CX/6Lu76Fhy5J3scO3S+cIQTQCpiT0k3a0vSginQzcPBvRnmWR13 X-Received: by 2002:a17:906:30d4:b0:970:71c:df58 with SMTP id b20-20020a17090630d400b00970071cdf58mr7769533ejb.42.1691414451435; Mon, 07 Aug 2023 06:20:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691414451; cv=none; d=google.com; s=arc-20160816; b=Upg8eJZsYrTpT4px3JDOvZdHk4XMbkJvsL+HDp0VVnaugZ+1nyWnrbjPXADWCUOvrK 5v6fCeMSS+sa60aydHiQaTtX0N+HpzoEHmsT5cC2IR/xO8B4qS/nfpe6HfixzNu0IM/9 i+Uj7R+b4BpSN58KUqB4nCfHFSXHTL6Vbh7CXddokWPPtSSqVaLJzv4q3uqMQozF4QaW szX28nlEYk0hoTCZHSSIq8OEGcUdfyKJ4rF4GN+9lh2H+9HsWr/NMlm73+UIq1ijYwzv sNHHYjEOb/cblNjrMjcy5wn7OYvsG8HBaS8e7qH1s4oZZp8LEyFJs6bxbyage23RQ2hx Rr/g== 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 :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=2uVEsCi/lsabOGA70yfi6yhcMvGipI+Aysa9bjkuA+Q=; fh=KcDyYO7WSz7frtmcSRLriyeGC1Otz+FDYU0OVdUQ24w=; b=MzV8MxEr6/9d/wruu/q9r7aBZzKMr2shCt98RmmlnHl1bMta8I5t9xcm6sUdXIxT0C SAY+jWPL0h14nSwXG04/rksgKTVm1zR/YEaG6jT1F1wNOVg/CcuIgAd4aBbr5R8t9bm8 4IbGRwqtAvkm3/QvlqueWFLHfZyJJa2rF7JoaIDAb/NcaLcU7GZSDZ8xSeJ9BKT7CExG WU3SG83C8V0FNyY4T8CJ9aI+Jc5G6ak5cji1o1vCJ2hyZ3KiX9H/lEjiEVPuz6qtmmj+ oIVdqss2SpXhOhGBkEQtoq6rhCd9EcoPVcnOkJ8q0W4Yp6VqO8LkT/AXRQP/rXy2TsIo MBOw== 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=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a170906138100b00992e50eafcfsi4486807ejc.772.2023.08.07.06.20.26; Mon, 07 Aug 2023 06:20: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=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233168AbjHGMEL (ORCPT + 99 others); Mon, 7 Aug 2023 08:04:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231536AbjHGMEK (ORCPT ); Mon, 7 Aug 2023 08:04:10 -0400 Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CB6718E; Mon, 7 Aug 2023 05:03:43 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R341e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=renyu.zj@linux.alibaba.com;NM=1;PH=DS;RN=20;SR=0;TI=SMTPD_---0VpGaULx_1691409755; Received: from 30.221.158.57(mailfrom:renyu.zj@linux.alibaba.com fp:SMTPD_---0VpGaULx_1691409755) by smtp.aliyun-inc.com; Mon, 07 Aug 2023 20:02:36 +0800 Message-ID: <110412ae-108a-27ed-b0f7-8f30eab122a2@linux.alibaba.com> Date: Mon, 7 Aug 2023 20:02:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v6 4/7] perf test: Fix matching_pmu To: John Garry , Ian Rogers Cc: Will Deacon , James Clark , Arnaldo Carvalho de Melo , Mark Rutland , Mike Leach , Leo Yan , Namhyung Kim , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Adrian Hunter , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-doc@vger.kernel.org, Zhuo Song , Shuai Xue References: <1691394685-61240-1-git-send-email-renyu.zj@linux.alibaba.com> <1691394685-61240-5-git-send-email-renyu.zj@linux.alibaba.com> From: Jing Zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 在 2023/8/7 下午5:21, John Garry 写道: > On 07/08/2023 08:51, Jing Zhang wrote: >> The perf_pmu_test_event.matching_pmu didn't work. No matter what its >> value is, it does not affect the test results. So let matching_pmu be >> used for matching perf_pmu_test_pmu.pmu.name. >> >> Fixes: 5a65c0c8f6fd ("perf test: Re-add pmu-event uncore PMU alias test") > > Is this tag correct, as I was not sure if this ever worked? > I added the tag with reference to the previous fixed patch, and it seems correct. > BTW, I am not sure how useful fixes tags are for self-test anyway... > I'm not sure if it's useful either, but I added it anyway.:) >> Signed-off-by: Jing Zhang > > Reviewed-by: John Garry Thank you sincerely!