SUNRPC: Ensure that we can trace waitqueues when !defined(CONFIG_SYSCTL)
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 9 Feb 2012 03:01:15 +0000 (22:01 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Feb 2012 05:19:51 +0000 (00:19 -0500)
commit2f09c24216cd789653eb8efbf8be88409eb8d581
tree8ad3049b8303e4537f03ce3c11abdad468cd0803
parent685f50f9188ac1e8244d0340a9d6ea36b6136cec
SUNRPC: Ensure that we can trace waitqueues when !defined(CONFIG_SYSCTL)

The tracepoint code relies on the queue->name being defined in order to
be able to display the name of the waitqueue on which an RPC task is
sleeping.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
include/linux/sunrpc/debug.h
include/linux/sunrpc/sched.h
net/sunrpc/sched.c