projects/linux·commit befacdcf

Documentation: android: binderfs: add 'stats' mount option

befacdcf · Randy Dunlap <[email protected]> · 2020-04-08 10:29:50 -07:00

Add documentation of the binderfs 'stats' mount option.

Description taken from the commit message.

Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Commit
befacdcf47d4a19eb584ae5b43da40941e8e660c
Parents
19905fe6

Changes

1 files changed · +6 −0

FileStatusAddDelContent
Documentation/admin-guide/binderfs.rstmodified+6−0View file

Documentation/admin-guide/binderfs.rst

View file
diff --git a/Documentation/admin-guide/binderfs.rst b/Documentation/admin-guide/binderfs.rst
index c009671..8243af9 100644
--- a/Documentation/admin-guide/binderfs.rst
+++ b/Documentation/admin-guide/binderfs.rst
@@ -33,6 +33,12 @@ max
a per-instance limit. If ``max=<count>`` is set then only ``<count>`` number
of binder devices can be allocated in this binderfs instance.
+stats
+ Using ``stats=global`` enables global binder statistics.
+ ``stats=global`` is only available for a binderfs instance mounted in the
+ initial user namespace. An attempt to use the option to mount a binderfs
+ instance in another user namespace will return a permission error.
+
Allocating binder Devices
-------------------------