Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp1078292imn; Tue, 26 Jul 2022 18:02:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uYDThkR7Nl+DHw8sQjEZ4RBZpmjwVeaS+5yS2AVN0jKhDRoj2IG8iWwjV5Juan/8fXFEHB X-Received: by 2002:a05:6402:4391:b0:43c:1883:8399 with SMTP id o17-20020a056402439100b0043c18838399mr9968186edc.233.1658883754010; Tue, 26 Jul 2022 18:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658883754; cv=none; d=google.com; s=arc-20160816; b=Yle+K2NKyJg2RrkVI34A6hK0VLAJaGs7uy3FUH32+QY81Lt+ArZBADnOfaPOO99jR3 aSjQ4ZzLZlJFvoBdoc3r6XXA2tjF5d0i64Qb2tyPyTgOqZF1yXzZuIZdFnAsaF48pU8T OaVXQPp4/CSXORUvTT2JYBjPwZ9TqdmISnkgjyjXLxwV7m+juvD6Er1tisfLzo7MdWiW E9y2ZKwv7F81NOGhUV1ksZgEKoaRu9jsvy4VvqgoVQdoi+orGAiovHfcHWoT6R3ha9mz vTxEYEYbmGJfdNA/WZOt9Fg/9EsG6fffysOgDu5jCmZCFaEIKdO2hm7W13Oefge1M1YE OBZw== 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=7W35guudZwSnbDALN81GRg3BUEDvJk2VIi2n2IscpWI=; b=nwKvosnebbtg6y/4Vf/H5O3clDq5Vuk2pNLoYP/yEme780q/KWhY9U34KxA7M6REuS jPd8Y9aZn+nsbfr5K2aAKa4NctiNEzbzlzZ0CStpm0kBMQsla+M4+QcHiBBU89b3+OUh EM+ep5rd/VsBoYejjexhMPoHNLUFzV6WZUm8+I9LeSS1H1O9qwo4tLo9N67vzoYTPv9d hYNLnxXvJhvigdmGMTq+lLKlpam3y2f6idnxmyDXsjE3rf9TGAV9LTMjpBbm64R1Alxs 3ZIx1pPthaH1ZI4gviSdfdsVDAkwfFRM6cxZAyqhXqNO/llni+yGBcRhKsSsH9lfPe4V QYLA== 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 eo12-20020a056402530c00b0043c436a8d48si3738947edb.582.2022.07.26.18.02.06; Tue, 26 Jul 2022 18:02:34 -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 S240067AbiG0AjB (ORCPT + 99 others); Tue, 26 Jul 2022 20:39:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240028AbiG0Ai5 (ORCPT ); Tue, 26 Jul 2022 20:38:57 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC8CE3AB36; Tue, 26 Jul 2022 17:38:56 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Lsvy067LGz9swK; Wed, 27 Jul 2022 08:37:44 +0800 (CST) Received: from kwepemm600003.china.huawei.com (7.193.23.202) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 27 Jul 2022 08:38:54 +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, 27 Jul 2022 08:38:53 +0800 Subject: Re: [RFC v3 01/17] perf kwork: New tool To: Arnaldo Carvalho de Melo CC: , , , , , , , , References: <20220709015033.38326-1-yangjihong1@huawei.com> <20220709015033.38326-2-yangjihong1@huawei.com> From: Yang Jihong Message-ID: Date: Wed, 27 Jul 2022 08:38:53 +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: 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.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 2022/7/27 1:27, Arnaldo Carvalho de Melo wrote: > Em Sat, Jul 09, 2022 at 09:50:17AM +0800, Yang Jihong escreveu: >> The perf-kwork tool is used to trace time properties of kernel work >> (such as irq, softirq, and workqueue), including runtime, latency, >> and timehist, using the infrastructure in the perf tools to allow >> tracing extra targets. >> >> This is the first commit to reuse perf_record framework code to >> implement a simple record function, kwork is not supported currently. > > So, since I have to fix some issues I'm adding small stylistic changes, > starting with this: > > > - multiline if/for blocks need {} > > - remove needless spaces between variable declaration + initialization. > > - Arnaldo > OK, I'll fix it in next version. Regards, Jihong