linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add binder state and statistics to binderfs
@ 2019-08-29 21:18 Hridya Valsaraju
  2019-08-29 21:18 ` [PATCH v2 1/4] binder: add a mount option to show global stats Hridya Valsaraju
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Hridya Valsaraju @ 2019-08-29 21:18 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Arve Hjønnevåg, Todd Kjos,
	Martijn Coenen, Joel Fernandes, Christian Brauner, devel,
	linux-kernel
  Cc: kernel-team, Hridya Valsaraju

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-08-30 18:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 21:18 [PATCH v2 0/4] Add binder state and statistics to binderfs Hridya Valsaraju
2019-08-29 21:18 ` [PATCH v2 1/4] binder: add a mount option to show global stats Hridya Valsaraju
2019-08-29 21:18 ` [PATCH v2 2/4] binder: Add stats, state and transactions files Hridya Valsaraju
2019-08-30 11:32   ` Christian Brauner
2019-08-30 18:47     ` Hridya Valsaraju
2019-08-29 21:18 ` [PATCH v2 3/4] binder: Make transaction_log available in binderfs Hridya Valsaraju
2019-08-30 11:34   ` Christian Brauner
2019-08-30 18:54     ` Hridya Valsaraju
2019-08-29 21:18 ` [PATCH v2 4/4] binder: Add binder_proc logging to binderfs Hridya Valsaraju
2019-08-30 11:42   ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).