Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3219764rwp; Fri, 14 Jul 2023 20:58:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlHxSyahVnRDR4EZs3P+OR2uMrcVux2rTivgfaWfy2zZFU08xhqlGAtC2lOsqeh9xVxAJ5cr X-Received: by 2002:a17:906:7a52:b0:993:eef2:5d53 with SMTP id i18-20020a1709067a5200b00993eef25d53mr786468ejo.0.1689393487495; Fri, 14 Jul 2023 20:58:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689393487; cv=none; d=google.com; s=arc-20160816; b=NDqLmR7gm3PsnpOB6MCVKpOtsCS3xKJ/XgoN8NPgY3UQL0K2b4qKOuH5BAOzLoGiJV d7x0CGRDgd9cCg4QPvr9eAKKFjIZJ2R5KvSvNBWOcWV/u2jjSsMgBBOpFcDKLUfcrmHe mPGA9rwksTUuUP6ysPyrQmIo/RZEd/f9daSKG1sRWJPHe5s8Hx9lCxF9b0t2DZNudwer t78k9sHHwJ8OzBFyqAdSpZ4LqN+19DCrL0pWu+0zVO5Ykxs89tlYCo1PHiJiTxPJGhR2 tEwuPweb6HUV3+yvrXJtaG/B2w4gxcmNjX+IfEURz42vOB8yu292auJa13L3c01b8S4H qfAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=IatdIuDm32S+jI7u2TTnbDbca96AqMuozFPWM3DhnF0=; fh=Ib1wi7jRbo+eNDLEErvWCJx+cnUm87PkGFthhdFf08Y=; b=wA2PPI/6epbI6WYmmjzWzvRYC1l/fYZWKmQZhmrMvuLJ3BYeR6B6d/p2NWUPKCatto UaxsLDO+ItRYx23Ej6TtImTiDsijQ2z18YwW7F40mSEKBlUEideuP5uSiU1iSDz9rczt GkKJqSNwtEd3qUxD1lmMSeyJPG4T9j3Syt5LW7t2hmTsHZUEEmw6sD2mm4i3PJ3q5PCU W5SROpvPcJRqB9TMlmFfImxbeB216K/hjdl4X16a8ej/PyzNve4zdB+MUejz2RBfaKl1 gV8Y6Lg944CYjwzXBKcKpo9KOcBA8qr1o7j2CHVhXmr+MTyIkQ1o5+jMT5lOz9ZWwtnt ssAA== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n24-20020a17090695d800b00993860a6d3esi9998900ejy.401.2023.07.14.20.57.43; Fri, 14 Jul 2023 20:58:07 -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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230229AbjGODb7 (ORCPT + 99 others); Fri, 14 Jul 2023 23:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbjGODbh (ORCPT ); Fri, 14 Jul 2023 23:31:37 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C87B43A99; Fri, 14 Jul 2023 20:31:36 -0700 (PDT) Received: from kwepemm600003.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4R2v492nYMzVhkT; Sat, 15 Jul 2023 11:30:17 +0800 (CST) Received: from localhost.localdomain (10.67.174.95) by kwepemm600003.china.huawei.com (7.193.23.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 15 Jul 2023 11:31:33 +0800 From: Yang Jihong To: , , , , , , , , , , , , , , , CC: Subject: [PATCH v2 6/7] perf test: Update system-wide-dummy attr expected values Date: Sat, 15 Jul 2023 03:29:14 +0000 Message-ID: <20230715032915.97146-7-yangjihong1@huawei.com> X-Mailer: git-send-email 2.30.GIT In-Reply-To: <20230715032915.97146-1-yangjihong1@huawei.com> References: <20230715032915.97146-1-yangjihong1@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.95] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600003.china.huawei.com (7.193.23.202) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,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 The perf record uses evlist__add_aux_dummy() instead of evlist__add_dummy() to add a dummy event. The value of attr needs to be updated. The perf test result is as follows: # ./perf test list 2>&1 | grep 'Setup struct perf_event_attr' 17: Setup struct perf_event_attr # ./perf test 17 17: Setup struct perf_event_attr : Ok Signed-off-by: Yang Jihong --- tools/perf/tests/attr/system-wide-dummy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/perf/tests/attr/system-wide-dummy b/tools/perf/tests/attr/system-wide-dummy index 2f3e3eb728eb..69f61f3271cc 100644 --- a/tools/perf/tests/attr/system-wide-dummy +++ b/tools/perf/tests/attr/system-wide-dummy @@ -9,8 +9,8 @@ flags=8 type=1 size=136 config=9 -sample_period=4000 -sample_type=455 +sample_period=1 +sample_type=199 read_format=4|20 # Event will be enabled right away. disabled=0 @@ -18,12 +18,12 @@ inherit=1 pinned=0 exclusive=0 exclude_user=0 -exclude_kernel=0 -exclude_hv=0 +exclude_kernel=1 +exclude_hv=1 exclude_idle=0 mmap=1 comm=1 -freq=1 +freq=0 inherit_stat=0 enable_on_exec=0 task=1 @@ -32,7 +32,7 @@ precise_ip=0 mmap_data=0 sample_id_all=1 exclude_host=0 -exclude_guest=0 +exclude_guest=1 exclude_callchain_kernel=0 exclude_callchain_user=0 mmap2=1 -- 2.30.GIT