From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83C81C7EE2C for ; Fri, 25 Aug 2023 06:10:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240861AbjHYGJr (ORCPT ); Fri, 25 Aug 2023 02:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241397AbjHYGJU (ORCPT ); Fri, 25 Aug 2023 02:09:20 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D3911BF2; Thu, 24 Aug 2023 23:09:18 -0700 (PDT) Received: from kwepemm600003.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RX8cv1JYnzrSjK; Fri, 25 Aug 2023 14:07:43 +0800 (CST) Received: from [10.67.111.205] (10.67.111.205) 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.31; Fri, 25 Aug 2023 14:09:14 +0800 Subject: Re: [PATCH v6 5/7] perf test: Update base-record & system-wide-dummy attr expected values for test-record-C0 To: Ian Rogers CC: , , , , , , , , , , , , , , References: <20230821012734.18241-1-yangjihong1@huawei.com> <20230821012734.18241-6-yangjihong1@huawei.com> From: Yang Jihong Message-ID: <0dbca9a3-f377-cd46-b1c4-e0742a94fbb5@huawei.com> Date: Fri, 25 Aug 2023 14:09:14 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.111.205] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600003.china.huawei.com (7.193.23.202) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On 2023/8/25 13:22, Ian Rogers wrote: > On Sun, Aug 20, 2023 at 6:30 PM Yang Jihong wrote: >> >> 1. Because a dummy sideband event is added to the sampling of specified >> CPUs. When evlist contains evsel of different sample_type, >> evlist__config() will change the default PERF_SAMPLE_ID bit to >> PERF_SAMPLE_IDENTIFICATION bit. >> The attr sample_type expected value of base-record and system-wide-dummy >> in test-record-C0 needs to be updated. >> >> 2. The perf record uses evlist__add_aux_dummy() instead of >> evlist__add_dummy() to add a dummy event. >> The expected value of system-wide-dummy 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 > > Will the kernel test robot complain about the previous patches > breaking this test? It may be best to update the test while changing > the behavior in those patches. > Okay, it'll be modified in the next version. Thanks, Yang