[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190903161655.107408-1-hridya@google.com>
Date: Tue, 3 Sep 2019 09:16:51 -0700
From: Hridya Valsaraju <hridya@...gle.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Arve Hjønnevåg" <arve@...roid.com>,
Todd Kjos <tkjos@...roid.com>,
Martijn Coenen <maco@...roid.com>,
Joel Fernandes <joel@...lfernandes.org>,
Christian Brauner <christian@...uner.io>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Cc: kernel-team@...roid.com, Hridya Valsaraju <hridya@...gle.com>
Subject: [PATCH v3 0/4] Add binder state and statistics to binderfs
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
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
Powered by blists - more mailing lists