Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3433794ybn; Fri, 27 Sep 2019 06:22:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKtwjdoP4J7RIim106Yv+vGRCqP02z3lpHhgkdoJQybE8Og1s2v6lLvxvYp0ltGS2NybOD X-Received: by 2002:aa7:c749:: with SMTP id c9mr4543377eds.232.1569590531536; Fri, 27 Sep 2019 06:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569590531; cv=none; d=google.com; s=arc-20160816; b=gjjODWLvubDAvkb+AMZiBVP0BlppbGMxvgizM6Vr8XtF+NkPq66PsQ/b7BO4NIC/de CMKKXfVBZ1rDJIJeCdNZEvX5jd3SyOQHEBoOmLeQfNMaHXvcI/j7AzGfaWU28e/BqJqe N5k5Qc5T3HMPnlmGX3sZ8o8d1NqTKE0gs/rFO8pjNHN6C8+nDOG+k48+83QsWFIwUzXl kb9UQ9pTyyVK/hYDfCqnp8GWBQlBLHcXhSqlxNnoAGCyCSTbBABpdfbygLFVIREW9xXI pF16PeUDAhDQ+zuzRSmCzZMDhMNFsx2TfntX+oBraSzcC1cr9vXmmwFmQMMNc4e1OAQ7 cBNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Nrtt6e6jaouLR5l6wKj52TM6gFKZu1J7zLbLGX8ouqQ=; b=bLTTH1G5JKspK5juzlYEdCAkG8Va6kwpk04sM03eYaUISc0J7gGzONCK3UGwixKuUy w3zY2YLuq/+eHXqteNzFpQWs7j9eRyK6Dt5e6onFzEeuzKJXmq7tmUcceMblnnUiU3Lk 9TQxcwBYBRHuCwO6aFlM8bLgfBYutvdkkub+b9qf33K3OlWTXoFAUDvMNZ3/h+K82pKx Kg0NXfTwotJVwrIczc7ytS+iJoVhypuUWHLoXsoFQyqedOT8ooA7kux2nwdg5dDN6KEr +cdPAKDpmHaqATi5Jvwhmzkmmm0kH1vgK9iiyw1IudJbjQcOZDxLUvPRMfeDqEdKvj5E UaDw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g30si1592829eda.2.2019.09.27.06.21.45; Fri, 27 Sep 2019 06:22:11 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727378AbfI0NTR (ORCPT + 99 others); Fri, 27 Sep 2019 09:19:17 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:40935 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfI0NTQ (ORCPT ); Fri, 27 Sep 2019 09:19:16 -0400 Received: from [65.39.69.237] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iDq9R-0000R4-Fn; Fri, 27 Sep 2019 13:19:13 +0000 Date: Fri, 27 Sep 2019 15:19:12 +0200 From: Christian Brauner To: Hridya Valsaraju Cc: Greg Kroah-Hartman , Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= , Todd Kjos , Martijn Coenen , Joel Fernandes , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v3 0/4] Add binder state and statistics to binderfs Message-ID: <20190927131912.pg7xtyfforiettgx@wittgenstein> References: <20190903161655.107408-1-hridya@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190903161655.107408-1-hridya@google.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > Currently, the only way to access binder state and > statistics is through debugfs. We need a way to > access the same even when debugfs is not mounted. > These patches add a mount option to make this > information available in binderfs without affecting > its presence in debugfs. The following debugfs nodes > will be made available in a binderfs instance when > mounted with the mount option 'stats=global' or 'stats=local'. > > /sys/kernel/debug/binder/failed_transaction_log > /sys/kernel/debug/binder/proc > /sys/kernel/debug/binder/state > /sys/kernel/debug/binder/stats > /sys/kernel/debug/binder/transaction_log > /sys/kernel/debug/binder/transactions I'm sitting in a talk from Jonathan about kernel documentation and what I realized is that we forgot to update the documentation I wrote for binderfs in Documentation/admin-guide/binderfs.rst to reflect the new stats=global mount option. Would be great if we could add that after rc1 is out. Would you have time to do that, Hridya? Should just be a new entry under: Options ------- max binderfs instances can be mounted with a limit on the number of binder devices that can be allocated. The ``max=`` mount option serves as a per-instance limit. If ``max=`` is set then only ```` number of binder devices can be allocated in this binderfs instance. stats Thanks! Christian