Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1860307iog; Tue, 14 Jun 2022 15:15:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf9CV23O2cSRRP237jk1P16jbl/1y7clKEJNbcXehmBX7HBbj5C2t6939eAdo5zv+lpbtT X-Received: by 2002:a17:907:3f81:b0:6ff:1a3d:9092 with SMTP id hr1-20020a1709073f8100b006ff1a3d9092mr6390155ejc.319.1655244922867; Tue, 14 Jun 2022 15:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655244922; cv=none; d=google.com; s=arc-20160816; b=mKdPMiWLwLRihSFsatvOKO2wxaUmtekGEEpPBjDrrWDZQce/5P3LTusIKv8a2o84qN /eJWvH1WVDCbI0p9lzR8O0O/amA/Jcs/l9GMcu0CxEM8pfTpYg5RwCjC2fb5992zcn6T wfOjNHaqUCPg+bLFwZtcz+s9ojiOv8ylLmK44ak3dokGWjHySr8k2MrPbJMXIyQqMkht hwU2DjLcISgsbh+LoZax1KhdxnygqZM6oJQuj3j5aNDDysdxtGEJ7ZtImkdFkQ1AC+fM KX3HW8w04lCqHfeUK29NBl1mGX+kmrMk1U0D8iPfeUXFfnYjKHyPWPn5s3HTtmKxWrtj tkpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Rbu9ANmj3+6noGx1Ee66PQJHzOisWTkSaUC9Zq6x7sc=; b=bttpmBLwV7PZ226Aj5DWYImprCu++UsycVjdoT3qG60y78W8ciraOt6gSpOQa0KDU6 yEwakqu22g9qEQLqoAcovf5/QD+EIWY/dVm7VtPLa0YGxUy1yVygF0k8Vjji6qRxq8Kp vWwkCofV9TVKqMt7v8RxsNo3CtxJSVBR5YDoap8mVGJnMThgGCC1Jg77dzi4YoJ4b+/l 0TwTUyRyppTKFV7SkMmvI2z2slRh7xVaSZ03lqUvKau2PmdHiADQzR+0bP1fnj01hM3c gIauEU+Uf/ylNgi9bMhKxd1dCYrlh70yLrOVx5Z3NCk+n32Qq8q3X5cnACaYBxun//Ud GouA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr16-20020a170906d55000b0070950fa092fsi14752161ejc.290.2022.06.14.15.14.57; Tue, 14 Jun 2022 15:15:22 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358123AbiFNVuK (ORCPT + 99 others); Tue, 14 Jun 2022 17:50:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244618AbiFNVuI (ORCPT ); Tue, 14 Jun 2022 17:50:08 -0400 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEE4951E5F; Tue, 14 Jun 2022 14:50:07 -0700 (PDT) Received: by mail-oi1-f171.google.com with SMTP id bf7so12066683oib.11; Tue, 14 Jun 2022 14:50:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Rbu9ANmj3+6noGx1Ee66PQJHzOisWTkSaUC9Zq6x7sc=; b=WWkHt2SDcg0/4zopUZq5FBVGn/a3r5A+5nJh9ydvIr6BJ6kByIO6csymZYsVldBWkx uGqxvDCd5ManAfGVkIjpabcGkGFG2sxJmr28VE1Qtked3vTEi9yzzyj2vOwZq9KscLiz 64JZ3aFPj8iBBhI3hAEXmDWHQG+xAiLIVWMVmzr66mJO6DOXsOylkmXLloKafu1ByNlc P20fmDLo+qZ2S3pUgJ4qj0yXpZ2HGRlvjH/TInQSNdD+OOfYDuzkxrewcO9FR2Bilwf8 vNQlKXoe+oTleqJtOzu5m1K87XbRm4rxUwMpTFdtrT/f2OYsXZaCqvXb05mxpCzR2G11 ObiA== X-Gm-Message-State: AJIora84RVDMtUtabJthQt2Xgc57Jfa5vQlpEaphWMeIyV/k36tmgqTz 8YKPK3qJTB2RNx+XexRgOU41JtNofdOASQpAhQc= X-Received: by 2002:a05:6808:1385:b0:32f:729e:4869 with SMTP id c5-20020a056808138500b0032f729e4869mr604425oiw.5.1655243407243; Tue, 14 Jun 2022 14:50:07 -0700 (PDT) MIME-Version: 1.0 References: <20220613094605.208401-1-yangjihong1@huawei.com> <20220613094605.208401-7-yangjihong1@huawei.com> In-Reply-To: <20220613094605.208401-7-yangjihong1@huawei.com> From: Namhyung Kim Date: Tue, 14 Jun 2022 14:49:56 -0700 Message-ID: Subject: Re: [RFC 06/13] perf kwork: Implement perf kwork report To: Yang Jihong Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-kernel , linux-perf-users Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 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.. Thanks, Namhyung > 3. "atom" includes time of each sample and sample of the previous phase. > (For example, exit corresponds to entry, which is used for timehist.) > > Signed-off-by: Yang Jihong