Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp793563rdb; Fri, 25 Aug 2023 00:52:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8fK5W5xlqrtGsZ8LdWIwMwsTq5qXQocWW8Nbs/jKl2yyXnhXQag1Gt9mlEz/dh68h7sVW X-Received: by 2002:a05:6358:893:b0:133:a55:7e26 with SMTP id m19-20020a056358089300b001330a557e26mr16734878rwj.7.1692949947897; Fri, 25 Aug 2023 00:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692949947; cv=none; d=google.com; s=arc-20160816; b=hkxhWEupG+E3mnd2QyHvM5wx5nP5wU11wFoIhjPIoR1B4KKxviNCjAzXK8OY5dGDoy P5YuRHr6N3TjHXEWoANOY4CmUYJfj+z1ozXP18/McD7p9cpnXqzWh6oVhTWlM25aXHtG 5Np1IxYr20dZGJIUCDAdCE4Y1iH8QQbxHl1w0r1Inzx1Y8QeG2GWmfbVH8q8TuaXwkjz 2xhDOtOaV+bPKnKIAaJlv2ul5hoUbvfXjiiQuaBD63WoOHyTAW/jyb/xsxhBG0SNmpqH nwym5u+VBkHnuGGlI8e5zn6wBtsKZJ30bTJUGYqwI5mWSVKPk2GaCParn58j8i1Y9HCR FWVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=QgmG3jm3H/49dq/Hp8tJwaVEZ0KUsvtooFq0EvCipf8=; fh=xo9tINpoVzO9DZPTaVEGY70vsewaMyY6lTu17nLBmWs=; b=RZfYe8PemxdwjUmKLhCpSadI6ns6IhuSvcZ6Wex0m059yFg2Rr4nPcXjKK6K+icI7/ DfxlpK3adyPcrbk2KiPdZbM/RoNSknnOH1+tJ4Zeo6/jBMb4zoBiM1ves4IB4Tu5dwOS +7gq7LYVUcL/k97nSgNgEFiRmFLfi2BfoWqb17s0t6LJgyz7XVyqG/Gb9WYT2N3JVmGv nH++7ow+x8HP/Z7JXzRZ6ysT2+9r7WfGPSoyTtTGg1ene1jfx+a7hlw+wEruRvNOkkws 2yql+fJvRgt+hm0FXZbm5H4kb78sJLkk3JzEfKoU76qLxK6+j32lMAvrneJEfHYqXJek Zn3g== 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 r20-20020a6560d4000000b00563ee04bbafsi1111914pgv.837.2023.08.25.00.52.12; Fri, 25 Aug 2023 00:52:27 -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 S240728AbjHYGJr (ORCPT + 99 others); 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 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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 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