Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp727728rwe; Wed, 31 Aug 2022 09:57:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR5wfw7pGeilpZjiHhR9bL5da1gALlJkFxeAfBalRYSdeHF8wB3qIaqFDd3bmyJBSLtD1jVc X-Received: by 2002:a17:907:760d:b0:741:975e:6827 with SMTP id jx13-20020a170907760d00b00741975e6827mr9990100ejc.137.1661965051563; Wed, 31 Aug 2022 09:57:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661965051; cv=none; d=google.com; s=arc-20160816; b=S2NKSaOMnF0Vl9tXdPFvCLXuh2ruwE7zTifJUUozYfRhnAy9cfgpiiY/wzGidN+VZt OIgHS4g3f3cboq7RzWNP4sUkNP2g+u/DMXgf5diKFlcAqvoTNUnfY/yrMJie9HInHZhl eta9jBjWZn+NmXOUem4Pqdv7flwwrgrCLQ+FB/k6/MAtZwlt80YgRBGmgEm4uSkoq/Ju tcVCUAbQ5epko0V/ousGotuu4F1GFTp6CZCDLrIuO/oPAdkd7+LLKWoGR1JFB/kRSwah 6cvbt2Q7vQSCWqsb2dU/PcmlM07NiV/amBV4/A9x5sCRNVM2RaW7DljYO90XgyTAUyYJ LEcw== 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:dkim-signature; bh=sybFcqH1KKlLZJ30kAOhH4vwj7X3FRQlsLR8cFlMDYU=; b=Guy6W3MV5pZbuhcMxSvIiPigpqF78gRewskBrsuLMDtXfGJJW6LiG2EjmLrSGkkmNg g+0pdlMg6rFApt3biqnbT9P9OZ+aldar9Xh8Jkr2DEBj4GVXeNPJdzw45txmjkwophCn Xv02rmznAbjorClmIBB3iJMD6h6ejwozqtZkKFjiZEBqrrbIQ0b2nHff0ccqyS6gGzOG 1Nuj+vlbxJuxuj4ify8XgB0PGkoUoKOpD+CLunRe4Zgqypcymds4LlI5vocn9tvkfP4O vWllOwV5Vh0v3pGmzHVVpPw5/F9eO7QZW8oug4kWBbhTH+nwiwIjEcVRqb3YcIUz+20+ OwbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ONehLJlM; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc33-20020a1709078a2100b0073d751c96adsi11261358ejc.1000.2022.08.31.09.57.05; Wed, 31 Aug 2022 09:57:31 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=ONehLJlM; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232236AbiHaP4T (ORCPT + 99 others); Wed, 31 Aug 2022 11:56:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232195AbiHaPzq (ORCPT ); Wed, 31 Aug 2022 11:55:46 -0400 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EA9774DEC for ; Wed, 31 Aug 2022 08:55:37 -0700 (PDT) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-324ec5a9e97so311187947b3.7 for ; Wed, 31 Aug 2022 08:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=sybFcqH1KKlLZJ30kAOhH4vwj7X3FRQlsLR8cFlMDYU=; b=ONehLJlMia7mkVvk2Zcl9HnY/oTkc+1EwkoR6Jx3DnNxre4Sp/FSdNv9mcbGgEmDyx hcwrMSJR7ZiQ1gQ0UYolLJ1KfSsEifqyTyCpB3HNLZA2KMDBC4nzkHtXo4jdW5MEBTL/ oeY/VF0jamX2X6EV+5N0Xd7mZ1j4MlgintI5pKX6sIFdlOA1BP37vU/laD/NgNYsqPs7 ry3YkegZ8oI5uWS54z5Ryp1YEZwXewCN8pUvCwKMKDNaZ0LFaWzFXYjHfSoj16inAquU wnZgCdGNLRRqt1agsDuWNICevBAb1Fc4Vo2v2Ob02GeQiQO1vTHDvn4tcp5ikcEVDh90 MGRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=sybFcqH1KKlLZJ30kAOhH4vwj7X3FRQlsLR8cFlMDYU=; b=Lz49p9rEfmmaTTiRndfk8MWSzqQX74KDd4kBUQcEIPNYbm+3vaq8t/EatNdGEvWBAW f2LhNZu3CMrUlwWGKLv7fLSJK88MsOyQF7ezrZtaGEwDMD9EHHl6BdsC65PqVYfJuUp4 iaATcZyQpziFylvVg4Kz0G8TUrk3n6Zy9d34RVFS2LTLSsiseFS0Yu6xh7oFxXgJJTl0 bsdsgVuyDrc2+/FF4N+yZK18yqW8li/LXLQ2XcYqiYmzJ6dSM8cnEAbNAi2n+2N1Amzp O/Ry+trngaTjS7nlmDzKDjwpaBBJu8qn2vuneHeQ3NLcIuhOqXVVDy5gxDRO8Yu0VAHS p1Kg== X-Gm-Message-State: ACgBeo34SHGsE6OOyQz0fuezeEYh5wVD1cGevCEoS6VxKyQVmTqcQEfW WrxsuxwNxTCkiHuAGA3VOWw4KENYCm6owTe2gAU9bw== X-Received: by 2002:a81:a186:0:b0:33d:bf97:5b14 with SMTP id y128-20020a81a186000000b0033dbf975b14mr18636737ywg.514.1661961335065; Wed, 31 Aug 2022 08:55:35 -0700 (PDT) MIME-Version: 1.0 References: <20220830214919.53220-1-surenb@google.com> <20220830214919.53220-28-surenb@google.com> <241c05a3-52a2-d49f-6962-3af5a94bc3fc@infradead.org> In-Reply-To: <241c05a3-52a2-d49f-6962-3af5a94bc3fc@infradead.org> From: Suren Baghdasaryan Date: Wed, 31 Aug 2022 08:55:24 -0700 Message-ID: Subject: Re: [RFC PATCH 27/30] Code tagging based latency tracking To: Randy Dunlap Cc: Andrew Morton , Kent Overstreet , Michal Hocko , Vlastimil Babka , Johannes Weiner , Roman Gushchin , Mel Gorman , Davidlohr Bueso , Matthew Wilcox , "Liam R. Howlett" , David Vernet , Peter Zijlstra , Juri Lelli , Laurent Dufour , Peter Xu , David Hildenbrand , Jens Axboe , mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, changbin.du@intel.com, ytcoode@gmail.com, Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Benjamin Segall , Daniel Bristot de Oliveira , Valentin Schneider , Christopher Lameter , Pekka Enberg , Joonsoo Kim , 42.hyeyoo@gmail.com, Alexander Potapenko , Marco Elver , dvyukov@google.com, Shakeel Butt , Muchun Song , arnd@arndb.de, jbaron@akamai.com, David Rientjes , Minchan Kim , Kalesh Singh , kernel-team , linux-mm , iommu@lists.linux.dev, kasan-dev@googlegroups.com, io-uring@vger.kernel.org, linux-arch@vger.kernel.org, xen-devel@lists.xenproject.org, linux-bcache@vger.kernel.org, linux-modules@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Tue, Aug 30, 2022 at 6:53 PM Randy Dunlap wrote: > > > > On 8/30/22 14:49, Suren Baghdasaryan wrote: > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > index b7d03afbc808..b0f86643b8f0 100644 > > --- a/lib/Kconfig.debug > > +++ b/lib/Kconfig.debug > > @@ -1728,6 +1728,14 @@ config LATENCYTOP > > Enable this option if you want to use the LatencyTOP tool > > to find out which userspace is blocking on what kernel operations. > > > > +config CODETAG_TIME_STATS > > + bool "Code tagging based latency measuring" > > + depends on DEBUG_FS > > + select TIME_STATS > > + select CODE_TAGGING > > + help > > + Enabling this option makes latency statistics available in debugfs > > Missing period at the end of the sentence. Ack. > > -- > ~Randy