diff options
Diffstat (limited to 'lockd')
-rw-r--r-- | lockd/lockd_clnt.stp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/lockd/lockd_clnt.stp b/lockd/lockd_clnt.stp index 0769650..6a6537f 100644 --- a/lockd/lockd_clnt.stp +++ b/lockd/lockd_clnt.stp @@ -1,3 +1,7 @@ +/* + * stap -g -I../tapset lockd_clnt.stp + */ + %{ #include <linux/sunrpc/svc.h> #include <linux/sunrpc/sched.h> @@ -17,7 +21,7 @@ enum { }; %} -function task_error:string(_task:long) +function task_nlm_error:string(_task:long) %{ struct rpc_task *task = (struct rpc_task *)(long) kread(&(THIS->_task)); char *errstr; @@ -47,14 +51,6 @@ function task_error:string(_task:long) CATCH_DEREF_FAULT(); %} -function task_status:long(_task:long) -%{ - struct rpc_task *task = (struct rpc_task *)(long) kread(&(THIS->_task)); - - THIS->__retvalue = task->tk_status; - - CATCH_DEREF_FAULT(); -%} /* function rpcprocnum:long(_msg:long) %{ @@ -247,7 +243,7 @@ probe module("lockd").function("nlmclnt_unlock_callback") { if (task_status($task)) { printf("%s(%d): nlmclnt_unlock_callback: ERROR: %s \n", - execname(), pid(), task_error($task)); + execname(), pid(), task_nlm_error($task)); } } probe module("lockd").function("nlm_rebind_host") |