| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* tapset/conversions.stp (kernel_pointer): New function.
* tapset/conversions-guru.stp (set_kernel_pointer): Ditto.
* testsuite/buildok/conversions-embedded.stp: Added kernel_pointer() test.
* testsuite/buildok/conversions.stp: Ditto.
* testsuite/buildok/set_kernel.stp: Added set_kernel_pointer() test.
* tapset/nfs.stp: Removed __d_loff_t() function. Uses new
kernel_pointer() function instead.
* testsuite/buildok/nfs-embedded.stp: Removed __d_loff_t() test.
|
|
|
|
|
|
|
|
|
|
| |
* tapset/nfs_proc.stp: Added script functions NFS_I(), NFS_FH(),
NFS_SERVER, NFS_PROTO. Rewrote embedded-C functions __nfsv4_bitmask()
and __getfh_inode() in script language.
* tapset/nfs.stp: Rewrote embedded-C functions __nfsi_cache_valid(),
__nfsi_rcache_time(), __nfsi_attr_time(), __nfsi_ndirty(),
__nfs_server_rsize(), __nfs_version(), __nfs_server_wsize(),
__nfs_rpages(), and __nfs_wpages() in script language.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tapset/nfs.stp(nfs.fop.fsync): Added support for nfs_file_fsync.
(nfs.fop.fsync.return): Ditto.
(nfs.aop.readpages.return): Fixed 'size' bug.
(nfs.aop.write_begin): Renamed to make 'nfs.*.*' probes work correctly.
(nfs.aop.write_end): Ditto.
(__nfs.aop.write_begin): Ditto.
(__nfs.aop.write_end): Ditto.
(__nfs.aop.prepare_write): Ditto.
(__nfs.aop.commit_write): Ditto.
(nfs.fop.aio_read.return): Always sets 'units'.
(nfs.fop.aio_write.return): Ditto.
(nfs.fop.sendfile.return): Ditto.
|
|
|
|
|
| |
* tapset/nfs.stp: Added support for nfs_write_begin()/nfs_write_end(),
which replaced nfs_prepare_write()/nfs_commit_write().
|
| |
|
|
|
|
|
|
|
|
|
| |
The nfs, rpc, and scsi tapsets use @cast on types that may be compiled
into a kernel module or into the main kernel binary. The @cast search
path separated with colons lets us search both the kernel and the module.
For a couple of cases, I also merged sequential @casts that work just
fine as a single cast with a multiple-level dereference.
|
|
|
|
|
|
|
|
| |
Rewrite some functions using type casting to
get rid of embedded C code in nfs, scsi, signal,
socket, rpc, task and vfs tapset.
Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count.
(__iov_length): New function.
(nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write,
nfs.aop.release_page): Fix typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
make sys_request_key optional on i386
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
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
|