summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhaolei <zhaolei>2007-09-25 02:55:19 +0000
committerzhaolei <zhaolei>2007-09-25 02:55:19 +0000
commit88cbaa2baf4cba4d04909caeb90883ed8054d87a (patch)
treeea4b3f2d23d13a10c41524d67156ba95e4308c30
parent899d9fabaf417427d9fe92999447a015064c027d (diff)
downloadsystemtap-steved-88cbaa2baf4cba4d04909caeb90883ed8054d87a.tar.gz
systemtap-steved-88cbaa2baf4cba4d04909caeb90883ed8054d87a.tar.xz
systemtap-steved-88cbaa2baf4cba4d04909caeb90883ed8054d87a.zip
2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
From Cai Fei <caifei@cn.fujitsu.com> * rpc.stp Fix the wrong calling of returnstr($return) to returnstr(1) or returnstr(2).
-rw-r--r--tapset/rpc.stp26
1 files changed, 14 insertions, 12 deletions
diff --git a/tapset/rpc.stp b/tapset/rpc.stp
index 44a75ebf..480c67c3 100644
--- a/tapset/rpc.stp
+++ b/tapset/rpc.stp
@@ -108,7 +108,7 @@ probe _sunrpc.clnt.create_client.part2 = kernel.function("rpc_new_client") ?,
probe sunrpc.clnt.create_client.return = _sunrpc.clnt.create_client.return.*
{
- retstr = returnstr($return)
+ retstr = returnstr(2)
}
probe _sunrpc.clnt.create_client.return.part1 =
@@ -159,7 +159,7 @@ probe sunrpc.clnt.clone_client.return =
module("sunrpc").function("rpc_clone_client").return ?
{
name = "sunrpc.clnt.clone_client.return"
- retstr = returnstr($return)
+ retstr = returnstr(2)
}
/*
@@ -223,7 +223,7 @@ probe sunrpc.clnt.shutdown_client.return =
module("sunrpc").function("rpc_shutdown_client").return ?
{
name = "sunrpc.clnt.shutdown_client.return"
- retstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -262,7 +262,7 @@ probe sunrpc.clnt.bind_new_program.return =
module("sunrpc").function("rpc_bind_new_program").return ?
{
name = "sunrpc.clnt.bind_new_program.return"
- retstr = returnstr($return)
+ retstr = returnstr(2)
}
/*
@@ -307,7 +307,7 @@ probe sunrpc.clnt.call_sync.return = kernel.function("rpc_call_sync").return ?,
module("sunrpc").function("rpc_call_sync").return ?
{
name = "sunrpc.clnt.call_sync.return"
- retstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -354,7 +354,7 @@ probe sunrpc.clnt.call_async.return =
module("sunrpc").function("rpc_call_async").return ?
{
name = "sunrpc.clnt.call_async.return"
- retstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -447,7 +447,7 @@ probe sunrpc.svc.register.return = kernel.function("svc_register").return ?,
module("sunrpc").function("svc_register").return ?
{
name = "sunrpc.svc.register.return"
- retstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -477,6 +477,7 @@ probe sunrpc.svc.create.return = kernel.function("svc_create").return ?,
module("sunrpc").function("svc_create").return ?
{
name = "sunrpc.svc.create.return"
+ retstr = returnstr(2)
}
/*
@@ -562,7 +563,7 @@ probe sunrpc.svc.process.return = kernel.function("svc_process").return ?,
module("sunrpc").function("svc_process").return ?
{
name = "sunrpc.svc.process.return"
- retstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -598,7 +599,7 @@ probe sunrpc.svc.authorise.return = kernel.function("svc_authorise").return ?,
module("sunrpc").function("svc_authorise").return ?
{
name = "sunrpc.svc.authorise.return"
- retstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -633,7 +634,7 @@ probe sunrpc.svc.recv.return = kernel.function("svc_recv").return ?,
module("sunrpc").function("svc_recv").return ?
{
name = "sunrpc.svc.recv.return"
- argstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -669,7 +670,7 @@ probe sunrpc.svc.send.return = kernel.function("svc_send").return ?,
module("sunrpc").function("svc_send").return ?
{
name = "sunrpc.svc.send.return"
- retstr = returnstr($return)
+ retstr = returnstr(1)
}
/*
@@ -753,6 +754,7 @@ probe sunrpc.sched.new_task.return = kernel.function("rpc_new_task").return ?,
module("sunrpc").function("rpc_new_task").return ?
{
name = "sunrpc.sched.new_task.return"
+ retstr = returnstr(2)
}
/*
@@ -820,7 +822,7 @@ probe sunrpc.sched.execute.return = kernel.function("__rpc_execute").return ?,
name = "sunrpc.sched.execute.return"
%( kernel_v <= "2.6.20" %?
- retstr = returnstr($return)
+ retstr = returnstr(1)
%:
retstr = "N/A"
%)