diff options
author | 2019-12-09 13:03:46 +0300 | |
---|---|---|
committer | 2019-12-12 17:04:55 -0800 | |
commit | 3c32da19a858fb1ae8a76bf899160be49f338506 (patch) | |
tree | e7a0f84416fbb8b900c24d2d063a2eac6be9513f /tools/perf/scripts/python/stackcollapse.py | |
parent | net: Allow to show socket-specific information in /proc/[pid]/fdinfo/[fd] (diff) | |
download | linux-dev-3c32da19a858fb1ae8a76bf899160be49f338506.tar.xz linux-dev-3c32da19a858fb1ae8a76bf899160be49f338506.zip |
unix: Show number of pending scm files of receive queue in fdinfo
Unix sockets like a block box. You never know what is stored there:
there may be a file descriptor holding a mount or a block device,
or there may be whole universes with namespaces, sockets with receive
queues full of sockets etc.
The patch adds a little debug and accounts number of files (not recursive),
which is in receive queue of a unix socket. Sometimes this is useful
to determine, that socket should be investigated or which task should
be killed to put reference counter on a resourse.
v2: Pass correct argument to lockdep
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions