mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
b4b9d2ccf0
It's possible to get a dump of the RPC task queue by writing a value to /proc/sys/sunrpc/rpc_debug. If you write any value to that file, you get a dump of the RPC client task list into the log buffer. This is a rather inconvenient interface however, and makes it hard to get immediate info about the task queue. Add a new directory hierarchy under debugfs: sunrpc/ rpc_clnt/ <clientid>/ Within each clientid directory we create a new "tasks" file that will dump info similar to what shows up in the log buffer, but with a few small differences -- we avoid printing raw kernel addresses in favor of symbolic names and the XID is also displayed. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
21 lines
570 B
Makefile
21 lines
570 B
Makefile
#
|
|
# Makefile for Linux kernel SUN RPC
|
|
#
|
|
|
|
|
|
obj-$(CONFIG_SUNRPC) += sunrpc.o
|
|
obj-$(CONFIG_SUNRPC_GSS) += auth_gss/
|
|
|
|
obj-y += xprtrdma/
|
|
|
|
sunrpc-y := clnt.o xprt.o socklib.o xprtsock.o sched.o \
|
|
auth.o auth_null.o auth_unix.o auth_generic.o \
|
|
svc.o svcsock.o svcauth.o svcauth_unix.o \
|
|
addr.o rpcb_clnt.o timer.o xdr.o \
|
|
sunrpc_syms.o cache.o rpc_pipe.o \
|
|
svc_xprt.o
|
|
sunrpc-$(CONFIG_SUNRPC_DEBUG) += debugfs.o
|
|
sunrpc-$(CONFIG_SUNRPC_BACKCHANNEL) += backchannel_rqst.o bc_svc.o
|
|
sunrpc-$(CONFIG_PROC_FS) += stats.o
|
|
sunrpc-$(CONFIG_SYSCTL) += sysctl.o
|