From 9956e5fcfbe5a62cea97e542dfc828c3be09eeb4 Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 20 Mar 2007 16:22:34 +0000 Subject: * applying kernel drift patches 2007-03-09 Pierre Peiffer * 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 * 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. --- tapset/LKET/rpc.stp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tapset/LKET/rpc.stp') 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, -- cgit