linux-uconsole/drivers
Hridya Valsaraju 7aeb384a5f UPSTREAM: binder: Add stats, state and transactions files
The following binder stat files currently live in debugfs.

/sys/kernel/debug/binder/state
/sys/kernel/debug/binder/stats
/sys/kernel/debug/binder/transactions

This patch makes these files available in a binderfs instance
mounted with the mount option 'stats=global'. For example, if a binderfs
instance is mounted at path /dev/binderfs, the above files will be
available at the following locations:

/dev/binderfs/binder_logs/state
/dev/binderfs/binder_logs/stats
/dev/binderfs/binder_logs/transactions

This provides a way to access them even when debugfs is not mounted.

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

Bug: 136497735
(cherry picked from commit 0e13e452da)
Change-Id: Ieeb666a719fb3195133403054de7b103a358e1ae
2019-12-08 21:46:40 -08:00
..
accessibility
acpi This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
amba
android UPSTREAM: binder: Add stats, state and transactions files 2019-12-08 21:46:40 -08:00
ata ata: ahci: mvebu: do Armada 38x configuration only on relevant SoCs 2019-12-05 09:21:06 +01:00
atm atm: zatm: Fix empty body Clang warnings 2019-12-01 09:16:41 +01:00
auxdisplay
base This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
bcma
block This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
bluetooth Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading 2019-12-05 09:20:39 +01:00
bus bus: ti-sysc: Check for no-reset and no-idle flags at the child level 2019-12-05 09:20:00 +01:00
cdrom cdrom: don't attempt to fiddle with cdo->capability 2019-12-01 09:16:20 +01:00
char This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
clk clk: stm32mp1: parent clocks update 2019-12-05 09:21:35 +01:00
clocksource clocksource/drivers/fttmr010: Fix invalid interrupt register access 2019-12-05 09:20:38 +01:00
connector
cpufreq This is the 4.19.87 stable release 2019-12-01 09:53:43 +01:00
cpuidle This is the 4.19.86 stable release 2019-11-25 10:00:06 +01:00
crypto crypto: stm32/hash - Fix hmac issue more than 256 bytes 2019-12-05 09:21:34 +01:00
dax
dca
devfreq PM / devfreq: Fix kernel oops on governor module load 2019-12-01 09:17:46 +01:00
dio
dma dmaengine: stm32-dma: check whether length is aligned on FIFO threshold 2019-12-05 09:21:35 +01:00
dma-buf This is the 4.19.78 stable release 2019-10-07 19:17:35 +02:00
edac EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr() 2019-12-01 09:16:18 +01:00
eisa
energy_model
extcon extcon: cht-wc: Return from default case to avoid warnings 2019-11-20 18:45:26 +01:00
firewire
firmware This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
fmc
fpga
fsi
gnss
gpio This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
gpu This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
hid HID: core: check whether Usage Page item is after Usage ID items 2019-12-05 09:21:34 +01:00
hsi
hv vmbus: keep pointer to ring buffer page 2019-11-20 18:47:31 +01:00
hwmon hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255 2019-11-24 08:21:01 +01:00
hwspinlock
hwtracing BACKPORT: coresight: etm4x: Save/restore state across CPU low power states 2019-12-03 13:44:31 -08:00
i2c UPSTREAM: i2c: of: Populate fwnode in of_i2c_get_board_info() 2019-12-03 16:08:50 -08:00
ide
idle
iio This is the 4.19.85 stable release 2019-11-20 20:43:17 +01:00
infiniband This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
input parisc: Fix HP SDC hpa address output 2019-12-05 09:19:57 +01:00
iommu iommu/amd: Fix NULL dereference bug in match_hid_uid 2019-12-05 09:21:18 +01:00
ipack
irqchip ANDROID: irqchip/gic-v3: rename gic_of_init to work around a ThinLTO+CFI bug 2019-11-27 12:37:20 -08:00
isdn mISDN: Fix type of switch control variable in ctrl_teimanager 2019-12-01 09:16:55 +01:00
leds led: triggers: Fix a memory leak bug 2019-10-05 13:09:45 +02:00
lightnvm lightnvm: pblk: consider max hw sectors supported for max_write_pgs 2019-11-24 08:20:52 +01:00
macintosh macintosh/windfarm_smu_sat: Fix debug output 2019-12-01 09:16:37 +01:00
mailbox mailbox: mailbox-test: fix null pointer if no mmio 2019-12-05 09:21:35 +01:00
mcb
md This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
media This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
memory memory: omap-gpmc: Get the header of the enum 2019-12-05 09:20:29 +01:00
memstick memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()' 2019-10-29 09:20:07 +01:00
message
mfd mfd: max8997: Enale irq-wakeup unconditionally 2019-12-01 09:16:57 +01:00
misc This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
mmc This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
mtd mtd: spi-nor: cast to u64 to avoid uint overflows 2019-12-05 09:21:33 +01:00
mux
net This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
nfc nfc: port100: handle command failure cleanly 2019-12-01 09:17:38 +01:00
ntb ntb: intel: fix return value for ndev_vec_mask() 2019-12-01 09:17:13 +01:00
nubus
nvdimm libnvdimm/region: Initialize bad block for volatile namespaces 2019-10-11 18:21:20 +02:00
nvme nvme: fix kernel paging oops 2019-12-05 09:20:08 +01:00
nvmem nvmem: core: return error code instead of NULL from nvmem_device_get 2019-11-20 18:46:31 +01:00
of UPSTREAM: of: property: Add device link support for interrupt-parent, dmas and -gpio(s) 2019-12-03 16:08:50 -08:00
opp This is the 4.19.86 stable release 2019-11-25 10:00:06 +01:00
oprofile
parisc parisc: Disable HP HSC-PCI Cards to prevent kernel crash 2019-10-05 13:10:04 +02:00
parport
pci PCI/MSI: Return -ENOSPC from pci_alloc_irq_vectors_affinity() 2019-12-05 09:21:06 +01:00
pcmcia
perf
phy phy: lantiq: Fix compile warning 2019-11-20 18:47:35 +01:00
pinctrl This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
platform platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size 2019-12-05 09:21:35 +01:00
pnp
power This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
powercap
pps
ps3
ptp
pwm pwm: Clear chip_data in pwm_put() 2019-12-05 09:21:29 +01:00
rapidio
ras
regulator regulator: tps65910: fix a missing check of return value 2019-12-05 09:20:46 +01:00
remoteproc remoteproc: qcom: q6v5: Fix a race condition on fatal crash 2019-11-24 08:20:29 +01:00
reset reset: Fix memory leak in reset_control_array_put() 2019-12-05 09:19:36 +01:00
rpmsg rpmsg: glink: smem: Support rx peak for size less than 4 bytes 2019-11-24 08:20:05 +01:00
rtc rtc: s35390a: Change buf's type to u8 in s35390a_init 2019-12-01 09:16:52 +01:00
s390 s390/zcrypt: make sysfs reset attribute trigger queue reset 2019-12-05 09:20:04 +01:00
sbus
scsi This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
sfi
sh
siox
slimbus silmbus: ngd: register controller after power up. 2019-11-20 18:47:30 +01:00
sn
soc This is the 4.19.87 stable release 2019-12-01 09:53:43 +01:00
soundwire soundwire: intel: Fix uninitialized adev deref 2019-11-20 18:45:22 +01:00
spi This is the 4.19.87 stable release 2019-12-01 09:53:43 +01:00
spmi
ssb
staging staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids 2019-12-05 09:21:26 +01:00
target scsi: target/tcmu: Fix queue_cmd_ring() declaration 2019-12-05 09:19:47 +01:00
tc
tee This is the 4.19.86 stable release 2019-11-25 10:00:06 +01:00
thermal This is the 4.19.87 stable release 2019-12-01 09:53:43 +01:00
thunderbolt thunderbolt: Power cycle the router if NVM authentication fails 2019-12-05 09:21:27 +01:00
tty serial: 8250: Fix serial8250 initialization crash 2019-12-05 09:21:06 +01:00
uio vmbus: keep pointer to ring buffer page 2019-11-20 18:47:31 +01:00
usb This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
uwb
vfio This is the 4.19.88 stable release 2019-12-05 12:02:49 +01:00
vhost vhost/vsock: split packets to send using multiple buffers 2019-12-01 09:16:08 +01:00
video backlight: lm3639: Unconditionally call led_classdev_unregister 2019-11-24 08:20:45 +01:00
virt virt: vbox: fix memory leak in hgcm_call_preprocess_linaddr 2019-11-06 13:06:04 +01:00
virtio This is the 4.19.87 stable release 2019-12-01 09:53:43 +01:00
visorbus
vlynq
vme
w1 w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size). 2019-12-01 09:16:22 +01:00
watchdog watchdog: sama5d4: fix WDD value to be always set to max 2019-12-05 09:21:32 +01:00
xen xen/pciback: Check dev_data before using it 2019-12-05 09:20:26 +01:00
zorro
Kconfig
Makefile