staging: android: ashmem: add procfs fdinfo helper
authorZhai Zhaoxuan <kxuanobj@gmail.com>
Thu, 28 Dec 2017 13:56:06 +0000 (21:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:37:18 +0000 (16:37 +0100)
commita941f70e55471367de8e9c3cc44b47303ba1a87d
tree8ba1318a43c759e50e5da47826f408850975c1d8
parent6724ed7f28d6e83956a7219a9a02a4d620ef65d8
staging: android: ashmem: add procfs fdinfo helper

This print the inode number of backing file and the name in
/proc/pid/fdinfo/fd.
These information helps users to know which processes are sharing the same
ashmem.

Signed-off-by: Zhai Zhaoxuan <kxuanobj@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ashmem.c