Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp935243ybe; Wed, 4 Sep 2019 09:53:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqy67ojMhfsiI+VhS728GqHWHBzOdZ5UfAt2yh3kq+abWGWROpxcDSczFNSp9jlAYwcRUo95 X-Received: by 2002:a17:902:a507:: with SMTP id s7mr41210092plq.66.1567616031247; Wed, 04 Sep 2019 09:53:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567616031; cv=none; d=google.com; s=arc-20160816; b=xgepdbZjlA3SNNXC88tmePq58FbJKapA8iue0ybiH5vuhOHmRPmOCcBni3aQrl9qBk hox4jg3HIHuUQT3lylFdQteqTKMhvgnNhRt9OGOSacRJqpl691UeOuiyE23zqLAN42aI ZNmvAktuYh+LxZ2JerpPHtPGfS4GekzLyurvVjz3dh0q6pA4RUrMgkCmQeII58N37QSL 7QlqkY2fktx1tTm2BLDhfPfPAglP2MtqNg+2/ByZJaWnyg0owcW3/lAGuXoZzDgxUsa0 q8i3pr1tE7z5UpZhS2/P2m4E5fTmuFU2tyB82t4Mt7jhRLtSr26lPpTaoQD7F+tuJKse ipaQ== 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=MlIv6DeXLkg4uR1/sPKQNkLhMSuShpHchXiSAIDmZ0E=; b=sq+ChSUZEudZBqTIA8nTx2IKZxI6KQjQAQSmKZI2xwQ8H7Ia8T9PJJJZZMbVxZJRnx 2BV85OuWd/aVCNvQUscG15cCv3TCgizDjPMcV6HkFf88JTsESahFeL9v4MTecBCnncq/ OSnyi8LCGXN3HmiAkz/YiqKe4jrJgBeySzG9bMIZJWCTz/cTYjHMVOG1HWrqnP45/k0+ Sq8SjocmWrAUjcGNH91C8rB2il1nng0IC7SCYci/Kk1nusUVTq9TitZKwftbyoaZFJBU Z29nR5H905ovozY1bkWLbkN6ShYDYv4ArobHZNRs27nDcb7rMQTA23fCNXL5Al/xVYxw EOJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=N8PIZnJH; 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 c9si4131072pls.148.2019.09.04.09.53.29; Wed, 04 Sep 2019 09:53:51 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=N8PIZnJH; 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 S1732348AbfIDQvr (ORCPT + 99 others); Wed, 4 Sep 2019 12:51:47 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42478 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731829AbfIDQvr (ORCPT ); Wed, 4 Sep 2019 12:51:47 -0400 Received: by mail-ot1-f68.google.com with SMTP id c10so9928835otd.9 for ; Wed, 04 Sep 2019 09:51:46 -0700 (PDT) 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=MlIv6DeXLkg4uR1/sPKQNkLhMSuShpHchXiSAIDmZ0E=; b=N8PIZnJHFOI8JoHe9sxqWDMgOn4GZ6iQqYjA020wCxu3o7sOm/6bIQk9/8EoQ+OeZa AKLFKYYU9+YgR34WalofuXjHVk6yw6IoIL/Fa+YtH3YhWpsdBH7FzVe7fsFuvrCQEccM mHW9Zd3+Rsd8IZLmjvjy1WCd/QoQ/gIbtTdIArWVI8DqvE6tfdZaK9Rb/8sy6Ko7Q2l7 O0vbYxXouuJ3S45WM6Wj2vdWqPqDplGZJCnyPjhwGI2HRdgKWyAouB0OFCvt3NiuPEqQ WxMXHJU7nUBKYXRaaM02KRIQoeMN+HtidM91MfhREDtcBhB71gvzzc8Nx78tAhdmlFfu Pvww== 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=MlIv6DeXLkg4uR1/sPKQNkLhMSuShpHchXiSAIDmZ0E=; b=FhRhSkhN53Rdp1/GKhBRD5YPQq7ZZyLEOCoufjakkXdHqzGnxg8nkezaFaNH1MQwzs ZiS9e8BBIrSY37HNXqVYtaQnwOYEPgwrEvRK+ftypcm1rDg0Lswq9HoN/48VgLvl4J2I sJn7yOijDmbrFENaniUIVUz1cktu/3oiys8WFaVQWTHK1bM6vpT514mCVjNWOmZjACmk 9J6MsMumotSmte+a691rKOov2YlPldO9COeQjL+ls3y1sdO5fpLl31JTarNbLdW5itqk jgk824qotnoJ2UNAjtHByFsgKgBOWPrgLAw1l4XwsnVZzB5+p403J4BRe44+VQkCzi5l cH0w== X-Gm-Message-State: APjAAAVeDLz+T/xzl6oAGE5L/ploD3ygNBzG3TA35Y7rrjN9WREeAQMx jQdmSBq1JxtSG6PS6Eo9iQNqUVUgY8/SciZFnxD4EQ== X-Received: by 2002:a05:6830:1bc3:: with SMTP id v3mr14369770ota.97.1567615906001; Wed, 04 Sep 2019 09:51:46 -0700 (PDT) MIME-Version: 1.0 References: <20190903161655.107408-1-hridya@google.com> <20190904111934.ya37tlzqjqvt7h6a@wittgenstein> <20190904144903.GA30432@kroah.com> <20190904151212.wolcug25ozytp4bw@wittgenstein> In-Reply-To: <20190904151212.wolcug25ozytp4bw@wittgenstein> From: Hridya Valsaraju Date: Wed, 4 Sep 2019 09:51:09 -0700 Message-ID: Subject: Re: [PATCH v3 0/4] Add binder state and statistics to binderfs To: Christian Brauner Cc: Greg Kroah-Hartman , Joel Fernandes , "open list:ANDROID DRIVERS" , kernel-team , Todd Kjos , LKML , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Martijn Coenen 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, Sep 4, 2019 at 8:12 AM Christian Brauner wrote: > > On Wed, Sep 04, 2019 at 04:49:03PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 04, 2019 at 10:20:32AM -0400, Joel Fernandes wrote: > > > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > > > wrote: > > > >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 > > > > > > > >Acked-by: Christian Brauner > > > > > > > >Btw, I think your counting is off-by-one. :) We usually count the > > > >initial send of a series as 0 and the first rework of that series as > > > >v1. > > > >I think you counted your initial send as v1 and the first rework as v2. > > > > > > Which is fine. I have done it both ways. Is this a rule written somewhere? > > > > No where, I can count both ways, it's not a big deal :) > > It isn't documented (as many things we still do are) and it's not a big > deal. But most people seem to be counting revisions starting from 0 it > seems. I went looking for previous version to link to in the patch cover > letter and was confused because I was missing a v1. :) > > Anyway, I'm happy that Hridya landed this! It was fun helping her the > last couple of weeks on- and off-list. Thanks for getting this done! I > hope we'll see even more patches in the future. :) Thank you so much Christian and Todd for the guidance and thorough reviews on the many patches I sent your way both on and off-list :) I really appreciate it! > > Christian