From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0F5CC433E0 for ; Mon, 10 Aug 2020 09:23:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B80D120773 for ; Mon, 10 Aug 2020 09:23:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbgHJJXq convert rfc822-to-8bit (ORCPT ); Mon, 10 Aug 2020 05:23:46 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:47444 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgHJJXp (ORCPT ); Mon, 10 Aug 2020 05:23:45 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 3BC9F1C0BD7; Mon, 10 Aug 2020 11:23:42 +0200 (CEST) Date: Mon, 10 Aug 2020 11:23:22 +0200 From: Pavel Machek To: Jonathan Adams Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Greg KH , Jim Mattson , David Rientjes Subject: Re: [RFC PATCH 0/7] metricfs metric file system and examples Message-ID: <20200810092322.GA12913@localhost> References: <20200807212916.2883031-1-jwadams@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200807212916.2883031-1-jwadams@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri 2020-08-07 14:29:09, Jonathan Adams wrote: > [resending to widen the CC lists per rdunlap@infradead.org's suggestion > original posting to lkml here: https://lkml.org/lkml/2020/8/5/1009] > > To try to restart the discussion of kernel statistics started by the > statsfs patchsets (https://lkml.org/lkml/2020/5/26/332), I wanted > to share the following set of patches which are Google's 'metricfs' > implementation and some example uses. Google has been using metricfs > internally since 2012 as a way to export various statistics to our > telemetry systems (similar to OpenTelemetry), and we have over 200 > statistics exported on a typical machine. > > These patches have been cleaned up and modernized v.s. the versions > in production; I've included notes under the fold in the patches. > They're based on v5.8-rc6. > > The statistics live under debugfs, in a tree rooted at: > > /sys/kernel/debug/metricfs Is debugfs right place for this? It looks like something where people would expect compatibility guarantees... Pavel --