diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-20 19:52:23 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-01 00:28:21 (GMT) |
commit | 82b0a4c3c171b180629696e8d1d5f52516f711e6 (patch) | |
tree | 60aab7bc3a767e3c017a228597eaaeedeffe4c00 /include/linux/sunrpc | |
parent | a613fa168afc19179a7547fbba45644c5b6912bf (diff) | |
download | linux-fsl-qoriq-82b0a4c3c171b180629696e8d1d5f52516f711e6.tar.xz |
SUNRPC: Add trace events to the sunrpc subsystem
Add declarations to allow tracing of RPC call creation, running, sleeping,
and destruction.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index bd337f9..f7b2df5 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h @@ -271,7 +271,7 @@ static inline int rpc_task_has_priority(struct rpc_task *task, unsigned char pri } #ifdef RPC_DEBUG -static inline const char * rpc_qname(struct rpc_wait_queue *q) +static inline const char * rpc_qname(const struct rpc_wait_queue *q) { return ((q && q->name) ? q->name : "unknown"); } |