Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4715404ybv; Wed, 26 Feb 2020 01:53:00 -0800 (PST) X-Google-Smtp-Source: APXvYqy20jzjx4aurcb8RjYEbD1OoWeegSvrx9H9L8Xlpr/BIOWNsSxk29vr9ooQcHvLJHXwjj7k X-Received: by 2002:a9d:a68:: with SMTP id 95mr2162653otg.87.1582710780123; Wed, 26 Feb 2020 01:53:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582710780; cv=none; d=google.com; s=arc-20160816; b=pmUkvRETplHmtIlO/g6+E8PgbV51IdLr3vu6DKCXEgDYfp4ob46j4ZadcJHrIRijkh K7B/pAqfaTG1Cj9lwR6zh/7vCprIjlRS2dcyiYhEUzVHd33ugnHM2f7bGEqNvXPgcQlP QZZ71xlsHeh+3ALngWfxunE60OuOxMFbZ5AFateVRS9JI2wSr1g7hbXoq10KcZPnW4Se Dk3Xe+QTSR9klHam1gVnqLkNNCd1dis+FrMmGAkeuuAoHu6f7uSiXXDndIs5eUm+mq36 W24SeVFG2vuF0Ozr2KhCYuSkOphfxSEiFls9DIV+41CZoBrRByh7j6KrxJPX04UmabZv T4MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oo/wjk0TgsxSlzI7tb59Kc+WtD3z+3CMs//fzq8EQR4=; b=lSXW4j/8WB0xTDNmCSyUtAgHSkVDRfwf2z32W2oVai6orx3HwjhEOfsxk7VJDZ3sS9 wCI7MzR7pgHehEh7QrY8t9vYGun8ffL9RuO7chWzU25L2KTtCdNXJ+f9aL2cWY/YNij7 qXiMsTu1XCmYAOW3+AGGZQ+LHvCitFmtDvbO5X3yd2bU6G7Qw9yMX3GhCka/L5/coi/1 BDDG/ovKMrsoCB/t69WSr9mujTcSzyOWU6l6JxPajXXV7vmh6JWtb0jV4vaMXl3EItha sswohFsSC03pbq4+/dultfLCTLdYQ874njYq3jGaNaF/HSYZsxwOKqKR8YopSnvVoWPs yFdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Q1hD4yeH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w26si1019034otl.213.2020.02.26.01.52.47; Wed, 26 Feb 2020 01:53:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Q1hD4yeH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727917AbgBZJwj (ORCPT + 99 others); Wed, 26 Feb 2020 04:52:39 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:32928 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbgBZJwi (ORCPT ); Wed, 26 Feb 2020 04:52:38 -0500 Received: by mail-ed1-f65.google.com with SMTP id r21so3039432edq.0 for ; Wed, 26 Feb 2020 01:52:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oo/wjk0TgsxSlzI7tb59Kc+WtD3z+3CMs//fzq8EQR4=; b=Q1hD4yeHtrVw8LeGw9dWuofl00qTg9dx68/nGk0DKtoLBaX0ZncZEpcN0G3J0XBg2D VQdcIWxtWtsmAt4z852Z/xHz+v9FE5uMgLTqKRSg6qYbQGwcYJAStv2vwAYy0ADpxa+x 3BUw3Quxpu2w95Q7IoSiXbgY+yvFrMPzhw9rheFRfxWkMolcIa0qhrgfV+Usw1uA+fPG rurY4C2Psq/35xTeqLdLdRbtLktGDNPi8WJExrRBb98JmMu6Rof6xCIClM8jd4QlrhfZ SdofLEazMgBNL8egFoOaPet0oVZGPbvhOriC9Nfpc0V/tjkEphqHQL2jYNNDkSDZm2fU ryZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oo/wjk0TgsxSlzI7tb59Kc+WtD3z+3CMs//fzq8EQR4=; b=jwoptA8c0CdQaP1HBMiWqLeSCe7IRwqcgobyurRXfchcnqpCBF/ANTco8LZUEv/X4o RBYIKvAg/tjBBF/tSIqUUhfNVVHrWfFe+DkauOnjYRLDmu/xPpXQkrnofiEWQZ77QNEy z2dDEk3mvzDWSu5jgxkVoCOz6Dqp41Z4MwOjssKDnxwDP2TPXqm2iFgW30gniqAZlHpd 8lQptyr7GXMwlfXUij4/3LJRBWDrFmLNtwHfLmKZa5tc4yLntclQogsnZIOQMpW4e0r1 rXBV7NNCVyrWN/hhTbaVcaktM9/H5sF/lMaIhdC1bMTM6oO85L9BfI8p8OI8NZ8AET3l Ljqw== X-Gm-Message-State: APjAAAUzUNG4FsFKiV66XOZsJUqBDNN+q1tPIxq1br+y1mUT3BHLqtUa fYZLb5id6XBMRW1dQX+UqfQ7a0SolRMlToWfhYo3og== X-Received: by 2002:a17:906:1956:: with SMTP id b22mr3786223eje.276.1582710756748; Wed, 26 Feb 2020 01:52:36 -0800 (PST) MIME-Version: 1.0 References: <20200226023027.218365-1-lrizzo@google.com> <20200226081048.GC22801@kroah.com> In-Reply-To: <20200226081048.GC22801@kroah.com> From: Luigi Rizzo Date: Wed, 26 Feb 2020 01:52:25 -0800 Message-ID: Subject: Re: [PATCH 0/2] quickstats, kernel sample collector To: Greg KH Cc: linux-kernel@vger.kernel.org, Masami Hiramatsu , akpm@linux-foundation.org, naveen.n.rao@linux.ibm.com, ardb@kernel.org, Luigi Rizzo , Paolo Abeni , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Jesper Dangaard Brouer Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 26, 2020 at 12:10 AM Greg KH wrote: > > On Tue, Feb 25, 2020 at 06:30:25PM -0800, Luigi Rizzo wrote: > > This patchset introduces a small library to collect per-cpu samples and > > accumulate distributions to be exported through debugfs. > > Shouldn't this be part of the tracing infrastructure instead of being > "stand-alone"? That's an option. My reasoning for making it standalone was that there are no dependencies in the (trivial) collection/aggregation part, so that code might conveniently replace/extend existing snippets of code that collect distributions in ad-hoc and perhaps suboptimal ways. cheers luigi