summaryrefslogtreecommitdiffstats
path: root/tapset/nfs_proc.stp
Commit message (Collapse)AuthorAgeFilesLines
* 2007-11-5 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-051-17/+19
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel panic.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-021-0/+16
| | | | | | | 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-18/+18
| | | | | | | | | | | 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-10-11 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-111-0/+20
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfs_proc.stp (__nfs_write_data_info): Add data-access code for count, valid and timestamp.
* 2007-09-27 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-271-1/+2
| | | | | | * rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22. * nfs.stp (__nfsi_ndirty) : Ditto. * nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-261-38/+38
| | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> modify field-access operator from "." to "->" in all files.
* * build fix on rhel4fche2007-09-251-1/+1
| | | | | | 2007-09-25 Frank Ch. Eigler <fche@elastic.org> * socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
* 2007-08-22 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-221-78/+58
| | | | | | | | | | * nfs.stp (__iov_length): Updated, Temporary here. * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in. (nfs.proc?.*): Modify evaluating count and offset. (nfs.proc?.read.return): Delete evaluating size and units. (nfs.proc?.write.return): Modify evaluating size. (nfs.proc?.create): Modify evaluating filename and filelen. (nfs.proc?.rename): Fix typo.
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-071-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-12/+20
|
* patch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernelguanglei2006-12-111-83/+175
|
* src/lket.5.in:guanglei2006-09-121-104/+154
| | | | | | | | | | | | | | | | | | | | | 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.
* vfs.stp:guanglei2006-08-231-0/+1443
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