| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* tapset/scsi.stp: Added script function timer_pending(). Rewrote
embedded-C function scsi_timer_pending() in script language.
|
|
|
|
|
|
| |
* tapset/task.stp: Used '@defined()' to remove kernel version checks.
* tapset/dentry.stp: Ditto.
* tapset/scsi.stp: Ditto.
|
|
|
|
|
| |
Older kernels didn't define these constants, which are only used in
the tapset/scsi.stp describe_device_state() function.
|
| |
|
|
|
|
|
|
| |
* tapset/nfs_proc.stp: Change '?' notation to "!".
* tapset/nfsd.stp: Ditto.
* tapset/scsi.stp: Ditto.
|
|
|
|
|
|
|
|
|
| |
* tapset/ioblock.stp (__bio_start_sect): Declare, then initialize variables
that could (through kread) take an early jump.
* tapset/nfs_proc.stp (get_prot_from_client): Likewise.
* tapset/scsi.stp (scsi_timer_pending): Likewise.
* tapset/task.stp (task_cpu): Likewise.
(task_open_file_handles): Likewise.
|
|
|
|
| |
* tapset/scsi.stp: Remove 'g' at end of file.
|
| |
|
| |
|
|
|
|
| |
tapsetdescription for man page generator (in development)
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* scsi.stp: Fix for when the scsi driver is built into the kernel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
check whether rq_disk is empty
tapset/scheduler.stp
revert changes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add more variables
* tapset/LKET/register_event.stp:
be sync with scsi trace hooks
* tapset/LKET/scsi.stp:
avoid reference to struct members in
embedded c. Use stap variables as more as possible.
break scsi_info into four variables.
delete cmd_pid from all logging functions
|
|
The second layer is tracing specific.
I checked into CVS those generic tapsets at the first step.
|