Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp952870ybe; Wed, 4 Sep 2019 10:09:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzG61SmqqNWC9inpnJQ5oMW6C6imbWsNo+uQChGTOzfPjW7sq33PS+iRaA0Yrd4SrAQbAOm X-Received: by 2002:a17:90a:8c94:: with SMTP id b20mr5814943pjo.127.1567616981734; Wed, 04 Sep 2019 10:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567616981; cv=none; d=google.com; s=arc-20160816; b=EsYeO/RYt1on7efARetdkrVXjYLw/C+33Ia1oWBM3h4jeVXeAuw18hOSBYO4mnWQbT S60Jon9ES8Sbabmqj9n1TU7e8lJk96fhpLdnKVNNRGzEBSxdNa29cdiyIyK1mqpJ8t/j 4YL5O4u2N1bLBn9PYdK3IxM8ef2ggti7xQW5IyLJP9KIMi/YxwV2xIlEhriPrflKlnR8 CLfOydiuILM4YcEUJr06oS0yPQdS4pkkhj8+4iFeiXluQVEbXw+Za1o0g7w+3/jv82v0 GEJRlTYzmlz6W48xS9eNrRpk6mqdTsewN8q+/J80KuhJ9XREl8EQeoAQHd7nPjvKhzLr 2Yvw== 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=akOkLHg6n29QqKNPN0D/UrC0AAWyYG9BrPMgu+TzegI=; b=zbm1hzf5rUAohll7qzg79mfXiKBtU7SpSbswT37UPeZ5e6QCVEXB5ITL4WWySI8IHz 1Q9YQ9L0n5lv/xHhcRM0Urk4UeEgZRmf938H9/4Rw0dPcs0j2qGpet+CcMxOOUlNirPn qyhInr4Lwv/yf7A4hKduZO/Bt3KckuveJIAGZzt+71NJdR5X6CWXw71SZcQ30E4yZGpl xBm7p45wFlSJbhF9Z+xROUHbjLIZFAP0G9/cYt6yWA9lUiMrf9UKYIaYSbyLLNj4r/RA /vqVrld3hSRP5rynMqDTihnEvqSPeA+7Bx3Uyz76EhTzEQ+34LSzmsPS3rHEYpesJPbJ nYuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=PqfURX+k; 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 c22si20697824pfo.9.2019.09.04.10.09.17; Wed, 04 Sep 2019 10:09:41 -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=PqfURX+k; 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 S1732543AbfIDRGd (ORCPT + 99 others); Wed, 4 Sep 2019 13:06:33 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:44546 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732017AbfIDRGd (ORCPT ); Wed, 4 Sep 2019 13:06:33 -0400 Received: by mail-oi1-f193.google.com with SMTP id w6so3940410oie.11 for ; Wed, 04 Sep 2019 10:06:32 -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=akOkLHg6n29QqKNPN0D/UrC0AAWyYG9BrPMgu+TzegI=; b=PqfURX+k6u7bgIDBNBhTj8IbdbvV8WLcJzdw7ODpyMdVIygpsWK/jkT5ZCnguxSFGd 8VlYEI6lXwZN1QZXLQuutmnRlGIPY1On9/VfVAU4gDU8ryDHS2LfS1Z8KVuq0VPP0YB2 Kg2IUgtcglo4YMwW3lvKeUdZY2DNA0m8T+rBqZYF1iGBFnrLH/gB2P30mjhenbTsIECo GACV4S8GD3SMKQ/wbeDTA4DoUx47PyYGSRKpJU9oSfXIyAVGnbd06gule5Y0U23AVDl0 GUgA6RnDAslLlsw87sbyMMsWHrpqPks/fCgc35YCVyjhgmIyi9zBONaQrsk+jurKmPia QrCw== 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=akOkLHg6n29QqKNPN0D/UrC0AAWyYG9BrPMgu+TzegI=; b=dpa4VKc1E0gy5U5xBaIeU2EUxLqoIVajcqcvzfGNO5SyMWLvw7SOY/wln5MimQRYmL iOUO0R0T2m52BGKk41P0Y2hfJP+eAUvlvKUMUhZwi3Mv/ZrlyngUeelaBZ1uAhEncq0K G38xYVDrTXkOhBPGWppvroWshtdNNfEhATxvNIDIvIWDIs0CAX6fCrnx2MRsCkxUh3uU dpHtQCXV+bHkY66itPUPPZiU9pVKQBfrziLtDaNXqHlufqm2h73/gNEZypfI1rMgHxZP RLbJ+kRfz7p1Q5poNmV7iADZcq6CLyyNmVBCpu9msl8m5FxeljDHtdQ6QJeiDSPGVuFM Er9g== X-Gm-Message-State: APjAAAXtFdIkTb7Sc4nd2EZNM04l27LGHwlHJuSzC9aLVnVTWAbmZPAc sQTLasAX9pMqEVqdfiOPBc+AXiIfbPflpF2L33hW9pQn4H2AtQ== X-Received: by 2002:aca:aa56:: with SMTP id t83mr4150370oie.178.1567616791972; Wed, 04 Sep 2019 10:06:31 -0700 (PDT) MIME-Version: 1.0 References: <20190903161655.107408-1-hridya@google.com> <20190904111934.ya37tlzqjqvt7h6a@wittgenstein> In-Reply-To: From: Hridya Valsaraju Date: Wed, 4 Sep 2019 10:05:55 -0700 Message-ID: Subject: Re: [PATCH v3 0/4] Add binder state and statistics to binderfs To: Joel Fernandes Cc: Christian Brauner , Greg Kroah-Hartman , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Todd Kjos , Martijn Coenen , "open list:ANDROID DRIVERS" , LKML , kernel-team 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 7:20 AM 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? > > >:) > > > > If I am not mistaken, this is Hridya's first set of kernel patches. > Congrats on landing it upstream and to everyone for reviews! (assuming > nothing falls apart on the way to Linus tree). I really hope so! Thank you Joel and everyone else for the reviews ! > > thanks, > > - Joel > > [TLDR] > My first kernel patch was 10 years ago to a WiFi driver when I was an > intern at University. I was thrilled to have fixed a bug in network > bridging code in the 802.11s stack. This is always a special moment so > congrats again! ;-) > > > > > > >Christian > > > >> > >> Hridya Valsaraju (4): > >> binder: add a mount option to show global stats > >> binder: Add stats, state and transactions files > >> binder: Make transaction_log available in binderfs > >> binder: Add binder_proc logging to binderfs > >> > >> drivers/android/binder.c | 95 ++++++----- > >> drivers/android/binder_internal.h | 84 ++++++++++ > >> drivers/android/binderfs.c | 255 > >++++++++++++++++++++++++++---- > >> 3 files changed, 362 insertions(+), 72 deletions(-) > >> > >> -- > >> 2.23.0.187.g17f5b7556c-goog > >>