[PATCH 0/4] Add binder state and statistics to binderfs

From: Hridya Valsaraju
Date: Tue Aug 27 2019 - 16:42:02 EST

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'.


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 | 87 +++++-----
drivers/android/binder_internal.h | 84 ++++++++++
drivers/android/binderfs.c | 256 ++++++++++++++++++++++++++----
3 files changed, 355 insertions(+), 72 deletions(-)