Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp109782iog; Tue, 14 Jun 2022 20:45:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uGTKGNnellMA1CXCvR03lt6R+FtSKUTsXwldn0ANPNZzH6BtkaAh3PtKgtnVGZQUNyX9hs X-Received: by 2002:a17:902:ce8f:b0:163:cc85:ba89 with SMTP id f15-20020a170902ce8f00b00163cc85ba89mr7149304plg.79.1655264755354; Tue, 14 Jun 2022 20:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655264755; cv=none; d=google.com; s=arc-20160816; b=QnUEgFk8IpuHGkMnajB2iTYkKVq/2NEciGcg8dSpVWxYSx0yXH/jheJFrJZLh630Qo e4iFFIJfJSH6i5sgB1b+MmvbC3X9eGmr7zPqhL4Fsd0D/SHhkRIvElA97BDWftMfBGOT bZWhLds/tIBHUqO7YseAd4R+Lx9QvDrfNyngYBDOMe4UEksz3rkg1yu6nAHpBCwIVcXC 2E27iUn50epTsn9bN8ZKZovwFqCiLhWt1kQo/v0ZNkQ4XsAG/00iGQQWjtRe3ejsxxKG MtxfKPuPd89QMokEBHavWxsykXloyw/neUZJMY7LVognHjVXMTuUO9NJujbgDc8zSrlw 9wWQ== 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=CuAg++ddzADQzvIU8H0CzIxbbEQ6Uu4vHPBDaevZ4pk=; b=Hxj/L/H3N2O5kh9zq0o9QDI8e1L1vvvtCG/T1/rs7mrBhOG0+PX63BG4FrLit5NY17 ew9psF7XhfN3QpVPdqNQzOeZSyPaA5ScAOMKXnZFopuyGZ3PXpDy+oTOwyLDvlwrNRqF oFZdi/fxM91uiQmXFNGYjsaqhR7yix/DDaqZ8sOWnqILnDofHLPJ7P+JjtJpa0NioI5c GVRtQnHm9Cvd8R/dm4y9wldNnjSdp7i5y4Cun2qz3LxLi9eVrZUzTfafbvWC9Nv2FqHl PV1iJ1FwaDAhbkapZ/b9LUdd+dLJN1qT5R3W59BpewKPtRwm3yWrWOMovxhVQt4oQ+S5 pDbQ== 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 6-20020a630a06000000b0040894b07b7dsi5665785pgk.871.2022.06.14.20.45.42; Tue, 14 Jun 2022 20:45:55 -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 S1345946AbiFODMe (ORCPT + 99 others); Tue, 14 Jun 2022 23:12:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231685AbiFODMa (ORCPT ); Tue, 14 Jun 2022 23:12:30 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2620EC40; Tue, 14 Jun 2022 20:12:28 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4LN9Kc6zN8z1K9xW; Wed, 15 Jun 2022 11:10:28 +0800 (CST) Received: from kwepemm600003.china.huawei.com (7.193.23.202) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 15 Jun 2022 11:12:17 +0800 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.2375.24; Wed, 15 Jun 2022 11:12:17 +0800 Subject: Re: [RFC 06/13] perf kwork: Implement perf kwork report To: Namhyung Kim CC: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-kernel , linux-perf-users References: <20220613094605.208401-1-yangjihong1@huawei.com> <20220613094605.208401-7-yangjihong1@huawei.com> From: Yang Jihong Message-ID: <2953080a-a1bd-0a1c-8466-96c4b58de2e6@huawei.com> Date: Wed, 15 Jun 2022 11:12:16 +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: 7bit X-Originating-IP: [10.67.111.205] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600003.china.huawei.com (7.193.23.202) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 Hello, On 2022/6/15 5:49, Namhyung Kim wrote: > On Mon, Jun 13, 2022 at 2:48 AM Yang Jihong wrote: >> >> Implements framework of perf kwork report, which is used to report time >> properties such as run time and frequency: >> >> test case: >> >> Kwork Name | Cpu | Avg delay | Frequency | Max delay | Max delay start | Max delay end | >> --------------------------------------------------------------------------------------------------------------------------- >> --------------------------------------------------------------------------------------------------------------------------- >> >> Since there are no report supported events, the output is empty. >> >> Briefly describe the data structure: >> 1. "class" indicates event type. For example, irq and softiq correspond >> to different types. >> 2. "cluster" refers to a specific event corresponding to a type. For >> example, RCU and TIMER in softirq correspond to different clusters, >> which contains three types of events: raise, entry, and exit. > > I'm not good at naming but how about calling it "work" instead? > It's all about kernel works anyway.. > How about calling it "work_atoms" ? Otherwise, "work" feels a little similar to kwork_class in the first step. Thanks, Jihong .