Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp820396ybe; Wed, 4 Sep 2019 08:13:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfiIBe3BG72K/XLBFPSfp+Z3/E5jI/cvQJc0gVGRZJOP6WO4oIqs0H+/CH80BnmJY1vU4c X-Received: by 2002:a65:6096:: with SMTP id t22mr36780671pgu.204.1567610013631; Wed, 04 Sep 2019 08:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567610013; cv=none; d=google.com; s=arc-20160816; b=w0ZT11h83N0jAE4W8AfMISTlzaoOjuTZxWnr+W/Upw3bqux7dYzxyhv0SOyi0G7KMn NzoiV1gtyj8PxO0iOR3qL8RlnaDu7Ey9v4KHVt4GOdgCOCSNOM3KcBcmpiVPTcCBWDIp Q/IZstt2PTD4RqJ+cdmoQ4SVkfmgwNu0ZjISI+300MpzqhLYAykc4nT6ixhZpf29LPj9 NUz6J6y9wuMVEVe+f9qHtQ+WwnZmRsaFGNMeoZ+BvyNHG0WefhZrKTrnhyIVDqM5GYmd iE2ar/4t6zgUbLUOaQDCcelgI5bykkNeoNWUD/oreiXVbn7hycKtmAt72B8RSWKnkEnA ZdyQ== 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=SWZ+ZYoTG2oVzbRjV+JJNq9iBeWF8dexRY1aesdX2po=; b=NXUGG93enDXirJSVd0HZ1Qgs0kKyW+UoykDj7xzwZIrnEpz08MMRb9hbfraXji7HpA pUS0dl7QpDE1iSDSLiO94SpgKmtxxDx+kVdWzpY61k/ImS1NuSVchu5XE57ttmzfDI8v TDxckP9FNmUsa7DMbHEayP2E1qt5Jr8rknZcFJ05VBeolQqqbEoQRllUXoFkSIXVVx48 ShSN4dBnp++yDrpH52jO7e6zkNGve0iVbxOyj0skmfwOv2DPPp1tzs0hY5ZjW9UFbiEM er+XOdtbHrCG0mwOT7VlpLm6cmyPr4Oohh2fStyL6YsKbsKQu0YQqn5GP2Ta/zxFdXk0 TfYA== 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 a15si4209521plm.295.2019.09.04.08.13.16; Wed, 04 Sep 2019 08:13:33 -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 S1731303AbfIDPMT (ORCPT + 99 others); Wed, 4 Sep 2019 11:12:19 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:58119 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730065AbfIDPMT (ORCPT ); Wed, 4 Sep 2019 11:12:19 -0400 Received: from [213.220.153.21] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1i5WxC-0006zY-EM; Wed, 04 Sep 2019 15:12:14 +0000 Date: Wed, 4 Sep 2019 17:12:13 +0200 From: Christian Brauner To: Greg Kroah-Hartman Cc: Joel Fernandes , Hridya Valsaraju , "open list:ANDROID DRIVERS" , kernel-team , Todd Kjos , LKML , Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= , Martijn Coenen Subject: Re: [PATCH v3 0/4] Add binder state and statistics to binderfs Message-ID: <20190904151212.wolcug25ozytp4bw@wittgenstein> References: <20190903161655.107408-1-hridya@google.com> <20190904111934.ya37tlzqjqvt7h6a@wittgenstein> <20190904144903.GA30432@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190904144903.GA30432@kroah.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 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. :) Christian