summaryrefslogtreecommitdiffstats
path: root/tapset/nfsd.stp
Commit message (Collapse)AuthorAgeFilesLines
* Backport recently added probes to RHEL5(U5)Steve Dickson2010-03-161-50/+69
| | | | | | | | Ensured the recent additions of v4 probes and supporting routines worked or at least don't break with RHEL5 U5 kernels (this time without kernel version checks). Signed-off-by: Steve Dickson <steved@redhat.com>
* Revert "Backport recently added probes to RHEL5(U5)"Steve Dickson2010-03-161-109/+50
| | | | | | | This reverts commit 35f22bd95cea2fb75573a27282f2a5edea84f2d7 beause kernel_v kernel checks should not be used. Signed-off-by: Steve Dickson <steved@redhat.com>
* Backport recently added probes to RHEL5(U5)Steve Dickson2010-03-161-50/+109
| | | | | | | Ensured the recent additions of v4 probes and supporting routines worked or at least don't break with RHEL5 U5 kernel. Signed-off-by: Steve Dickson <steved@redhat.com>
* Revert "Backport recent changes to RHEL5 (U5)"Steve Dickson2010-03-161-43/+17
| | | | | | This commit causes the 2.6.33 probes to break This reverts commit 3ca4e3f2f5a7a615d0aed00a242f4e30864deaa8.
* Backport recent changes to RHEL5 (U5)Steve Dickson2010-03-161-17/+43
| | | | | | | Ensured the recent additions of v4 probes and supporting routines worked with RHEL5 U5 kernel. Signed-off-by: Steve Dickson <steved@redhat.com>
* Incorporated comments from code reviewSteve Dickson2010-03-161-40/+53
| | | | | | | | - Fixed a couple typos - To allow better optimization, removed the used of "convenience variables" Signed-off-by: Steve Dickson <steved@redhat.com>
* Allow better filtering with IP address and File handleSteve Dickson2010-03-161-23/+98
| | | | | | | | | | | | | | | To allow filtering by the client's IP address, the addr_from_rqst_str() function was added which extracts the IP address from incoming procedures and converts them into a character string. Calls to addr_from_rqst_str() were added to the top of each probe so callers of the probes can use the IP addresses as a filter. Calls to __svc_fh() were also sprinkled were needed so callers can also filter on file handles Signed-off-by: Steve Dickson <steved@redhat.com>
* General clean up on the upper level probesSteve Dickson2010-03-161-23/+67
| | | | | | | | | | Added the ftype() function which converts file types into character strings Added calls nfsderror() to the return probes that will display errors in character strings Signed-off-by: Steve Dickson <steved@redhat.com>
* Removed the nfsd.proc4.compound and nfsd.proc.compound.return probesSteve Dickson2010-03-161-38/+0
| | | | | | | Either probes displayed anything that was useful, plus there are other ways to display similar information. Signed-off-by: Steve Dickson <steved@redhat.com>
* Updated nfsd.proc.remove probesSteve Dickson2010-03-161-11/+39
| | | | | | | | | Converted the nfsd.proc.remove probes to used the @cast() mechanism. Created the nfsd.proc4.remove probes Signed-off-by: Steve Dickson <steved@redhat.com>
* Updated nfsd.proc.remove probesSteve Dickson2010-03-161-7/+31
| | | | | | | | | Converted the nfsd.proc.remove probes to used the @cast() mechanism. Created the nfsd.proc4.remove probes Signed-off-by: Steve Dickson <steved@redhat.com>
* Updated nfsd.proc.create probesSteve Dickson2010-03-161-8/+97
| | | | | | | | | Converted the nfsd.proc.create probes to used the @cast() mechanism. Created the nfsd.proc4.create probes Signed-off-by: Steve Dickson <steved@redhat.com>
* Updated nfsd.proc.write probesSteve Dickson2010-03-161-20/+74
| | | | | | | | | Converted the nfsd.proc.write probes to used the @cast() mechanism. Created the nfsd.proc4.write probes Signed-off-by: Steve Dickson <steved@redhat.com>
* Updated nfsd.proc.read probesSteve Dickson2010-03-161-12/+41
| | | | | | | | | Converted the nfsd.proc.read probes to used the @cast() mechanism. Created the nfsd.proc4.read probes Signed-off-by: Steve Dickson <steved@redhat.com>
* Updated nfsd.proc.lookup probesSteve Dickson2010-03-161-79/+30
| | | | | | | | | Converted the nfsd.proc.lookup probes to used the @cast() mechanism. Created the nfsd.proc4.lookup probes Signed-off-by: Steve Dickson <steved@redhat.com>
* Tweak kernel or module resident probeWenji Huang2009-07-191-50/+50
| | | | | | * tapset/nfs_proc.stp: Change '?' notation to "!". * tapset/nfsd.stp: Ditto. * tapset/scsi.stp: Ditto.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-021-0/+4
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfsd.stp: Fix the semantic error caused by the difference of kernel versions. * nfs_proc.stp: Ditto.
* 2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-151-16/+16
| | | | | | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * conversions.stp: Add a function kernel_string_n for copy non-0-terminated string with fixed length from kernel space at given address. * stapfuncs.5.in: Add kernel_string_n. * nfsd.stp: Using kernel_string_n to copy non-0-terminated string with fixed length from kernel space at given address. * nfs_proc.stp: Ditto.
* 2007-09-24 David Smith <dsmith@redhat.com>dsmith2007-09-241-1/+1
| | | | * nfsd.stp (__svc_fh): Added missing semicolon.
* 2007-08-22 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-221-18/+18
| | | | | | | * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip with function addr_from_rqst to make it compatible in kernel>=2.6.19 (nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo. (nfsd.unlink): Fix reference to variable iap.
* * applying kernel drift patchesfche2007-03-201-1/+12
| | | | | | | | | | | | | | | | | | | | 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.
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-071-40/+17
| | | | | | | | | | | | | | | | | | | | | | | | | * aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp, nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp, socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences with kread wherever possible. Some places still have hazards, as marked with FIXMEs. * errno.stp (returnstr): Don't use return in tapset C functions. * aux_syscalls.stp (__uget_timex_m): Ditto. * nfsd.stp (__get_fh): Ditto. * nfs.stp, vfs.stp (<many functions>): Ditto. * string.stp (substr): Ditto. Also make sure start index is valid. * syscalls.stp (syscall.execve): Change __string to kernel_string. LKET/ * nfs.stp, nfs_proc.stp, nfsd.stp, process.stp, tskdispatch.stp: Protect pointer dereferences with kread wherever possible. Some places still have hazards, as marked with FIXMEs. * aio.stp (log_io_getevents): Don't use return in tapset C functions. * timestamp.stp (set_timing_method): Ditto. * utils.stp (filter_by_pid): Ditto.
* bugfix for 2.6.19 kernelguanglei2006-12-291-1/+17
|
* bugfix of LKET/tapsets for pointer conversion on 32-bit platformguanglei2006-10-111-17/+17
| | | | make sys_request_key optional on i386
* src/lket.5.in:guanglei2006-09-121-49/+60
| | | | | | | | | | | | | | | | | | | | | document nfs trace hooks tapset/nfsd.stp, tapset/nfs_proc.stp, tapset/nfs.stp: Change NFS file identifier. Change NFS version data type from String to INT. Add version variable to nfs_open and nfs_release. LKET/iosyscall.stp: change log_iosyscall_sync() be sync with different timing methods. LKET/utils.stp: add reset_maxaction() since there are too many functions called inside "probe begin". LKET/nfsd.stp, LKET/nfs_proc.stp, LKET/nfs.stp: New trace hooks for NFS, including both NFS client and server side activities. LKET/register_event.stp: Add the register event calls for NFS trace hooks.
* bug fix and more error checking for nfs tapsetsguanglei2006-08-251-2/+1
|
* vfs.stp:guanglei2006-08-231-0/+1059
New tapset from Thomas Zanussi(trz@us.ibm.com) to probe vfs layer activities. nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe nfs file operations and nfs address space operations on client side. nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC procedure stub functions on client side. nfsd.stp: New tapset from Li Xuepeng to probe nfs server side activities, including some RPC procedure stub functions, nfsd dispatch routine, and nfsd_* functions