diff options
author | fche <fche> | 2007-03-20 16:22:34 +0000 |
---|---|---|
committer | fche <fche> | 2007-03-20 16:22:34 +0000 |
commit | 9956e5fcfbe5a62cea97e542dfc828c3be09eeb4 (patch) | |
tree | 6ff8f8ec76898b288c00046cb0693218827fd3c4 /tapset/LKET/rpc.stp | |
parent | ab655cf8ec35ab47a38d95182dfe07a0e380681a (diff) | |
download | systemtap-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-x | tapset/LKET/rpc.stp | 4 |
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, |