Files
linux/drivers
Hridya Valsaraju ce106a8de6 UPSTREAM: binder: Make transaction_log available in binderfs
Currently, the binder transaction log files 'transaction_log'
and 'failed_transaction_log' live in debugfs at the following locations:

/sys/kernel/debug/binder/failed_transaction_log
/sys/kernel/debug/binder/transaction_log

This patch makes these files also available in a binderfs instance
mounted with the mount option "stats=global".
It does not affect the presence of these files in debugfs.
If a binderfs instance is mounted at path /dev/binderfs, the location of
these files will be as follows:

/dev/binderfs/binder_logs/failed_transaction_log
/dev/binderfs/binder_logs/transaction_log

This change provides an alternate option to access these files when
debugfs is not mounted.

Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Hridya Valsaraju <hridya@google.com>
Link: https://lore.kernel.org/r/20190903161655.107408-4-hridya@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 136497735
(cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
Change-Id: I20d9e6c4c7115297f9740cc42a516c315b3a209e
2019-12-08 21:46:47 -08:00
..
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 09:21:35 +01:00
2019-12-01 09:53:43 +01:00
2019-11-25 10:00:06 +01:00
2019-10-07 19:17:35 +02:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-11-20 20:43:17 +01:00
2019-10-05 13:09:45 +02:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 09:20:08 +01:00
2019-11-25 10:00:06 +01:00
2019-11-20 18:47:35 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 09:21:29 +01:00
2019-12-05 12:02:49 +01:00
2019-12-01 09:53:43 +01:00
2019-12-01 09:53:43 +01:00
2019-11-25 10:00:06 +01:00
2019-12-01 09:53:43 +01:00
2019-12-05 12:02:49 +01:00
2019-12-05 12:02:49 +01:00
2019-12-01 09:53:43 +01:00