summaryrefslogtreecommitdiffstats
path: root/tapset/LKET/rpc.stp
diff options
context:
space:
mode:
authorfche <fche>2007-03-20 16:22:34 +0000
committerfche <fche>2007-03-20 16:22:34 +0000
commit9956e5fcfbe5a62cea97e542dfc828c3be09eeb4 (patch)
tree6ff8f8ec76898b288c00046cb0693218827fd3c4 /tapset/LKET/rpc.stp
parentab655cf8ec35ab47a38d95182dfe07a0e380681a (diff)
downloadsystemtap-steved-9956e5fcfbe5a62cea97e542dfc828c3be09eeb4.tar.gz
systemtap-steved-9956e5fcfbe5a62cea97e542dfc828c3be09eeb4.tar.xz
systemtap-steved-9956e5fcfbe5a62cea97e542dfc828c3be09eeb4.zip
* applying kernel drift patches
2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net> * nfsd.stp (nfsd.dispatch): Change initialization of variable client_ip with a call to addr_from_rqst. * rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst - __rpc_execute returns void now. struct rpc_xprt modified since kernel 2.6.19. * nfs.stp, vfs.stp: Local variables f_dentry renamed, because conflicting with a new #define in kernel header linux/fs.h in 2.6.20. 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net> * nfs.stp: Local variables f_dentry renamed, because conflicting with a new #define in kernel header linux/fs.h in 2.6.20. * rpc.stp (_addevent.sunrpc.sched.execute.return): update with __rpc_execute which returns void since kernel 2.6.21.
Diffstat (limited to 'tapset/LKET/rpc.stp')
-rwxr-xr-xtapset/LKET/rpc.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tapset/LKET/rpc.stp b/tapset/LKET/rpc.stp
index f78b585d..b9c8ca60 100755
--- a/tapset/LKET/rpc.stp
+++ b/tapset/LKET/rpc.stp
@@ -697,7 +697,11 @@ probe addevent.sunrpc.sched.execute.return
probe _addevent.sunrpc.sched.execute.return
= sunrpc.sched.execute.return
{
+%( kernel_v <= "2.6.20" %?
log_sunrpc_return_int64(HOOKID_SUNRPC_SCHED_EXECUTE_RETURN, $return)
+%:
+ log_sunrpc_return_void(HOOKID_SUNRPC_SCHED_EXECUTE_RETURN)
+%)
}
function log_sunrpc_execute(hookid:long, xid:long, prog:long, vers:long,